x/tools/cmd/eg: take better care with pointers, maintain addressability of expressions #10326
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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: