You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rsc
changed the title
cmd/eg: take better care with pointers, maintain addressability of expressions
x/tools/cmd/eg: take better care with pointers, maintain addressability of expressions
Apr 14, 2015
Given this package:
and this template:
applying eg generates uncompilable code:
There are two separate bugs here--T vs *T and breaking addressability.
This is a real life example, from attempting to use
eg
to instrument the gc compiler to find correlations in Node field usage.The text was updated successfully, but these errors were encountered: