Skip to content

Fix and validate reflection for newer go toolchains#3

Open
cgfuh wants to merge 1 commit intobenburkert:masterfrom
cgfuh:master
Open

Fix and validate reflection for newer go toolchains#3
cgfuh wants to merge 1 commit intobenburkert:masterfrom
cgfuh:master

Conversation

@cgfuh
Copy link
Copy Markdown

@cgfuh cgfuh commented Jun 19, 2025

Newer go toolchains (e.g. toolchain go1.24.x) have stricter behavior around the reflect.ValueOf(nil).IsNil() which now panics when called on a zero/invalid reflect.Value.

This PR adds validation to the reflection code used in pbench.

@cgfuh
Copy link
Copy Markdown
Author

cgfuh commented Jun 19, 2025

I think this opened issue will be resolved by this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant