Closed
Description
If you remove the a
parameter name from F1
and F2
in uintptrescapes2.go (i.e., change them to func F1(uintptr) {}
and func F2(...uintptr) {}
), the test fails.
I suspect in practice this particular issue doesn't matter in practice, but looking at the code, I can't obviously see why the parameter names should be relevant in either (*EscState).esctag
or ordercall
. It makes me worry that escape analysis / pragma tags might not be working correctly in some other more realistic scenarios.
/cc @ianlancetaylor