Join GitHub today
cmd/compile: esc.go fails to mark anonymous receiver parameters as non-escaping #24305
Compiling the above code with "go tool compile -m" outputs:
This doesn't happen if the receiver parameters are given a proper name, or if the receiver parameters are turned into normal parameters (i.e., changing the methods into functions).
The direct calls (
The indirect calls (