cmd/link, reflect: regression in reflect.Method output #15724
Closed
Labels
Milestone
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Commit 44d3f89 caused a regression in the reflect package where-by some of the fields of the reflect.Method would be nil or invalid.
Consider the following program:
On
go1.6
, this would print:{getFoo main func(*main.Bar) main.Foo <func(*main.Bar) main.Foo Value> 0}
After 44d3f89, this would print:
{getFoo main <nil> <invalid Value> 0}
/cc @crawshaw @randall77 @ianlancetaylor
The text was updated successfully, but these errors were encountered: