Skip to content

Fix and validate reflection for newer go toolchains#3

Open
cgfuh wants to merge 1 commit into
benburkert:masterfrom
cgfuh:master
Open

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

Conversation

@cgfuh

@cgfuh cgfuh commented Jun 19, 2025

Copy link
Copy Markdown

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

cgfuh commented Jun 19, 2025

Copy link
Copy Markdown
Author

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