cmd/compile,debug/gosym: generics: compiler produces symbols that gosym can not parse #48032
The symbol names currently produced by the compiler for generic function instantiations can not be parsed by debug/gosym (or any simple parser for that matter).
Produces the symbol
Parsing symbol names is further complicated by generic method instantiations:
Will produce the symbol
Referencing issue #37762 here since its making an effort to fix a bug in this area.
The text was updated successfully, but these errors were encountered:
@griesemer and I talked. Once some types2 change are complete that will give a better unique name for various types (in a week or two), we will discuss gosym compatibility and other issues related to naming instantiations of generic functions/methods, and come to a more formal decision on the format of names of function instantiations.
In this case, as you describe, the '.' that we are using when specifying the type args of a function instantiation is clearly confusing the current gosym code.