/ go Public
cmd/link: include DWARF declaration position for types #25064
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The linker should include the declaration position for types so that we can use this information in editors and disambiguate where the types come from.
The easiest to replicate the confusion is to have a project which has multiple main packages and to try to go to a specific type declared in both those main package. In this case, the type contains only the
main.TypeNameinformation so an editor would be forced to implement additional logic to infer where the
mainpackage is located in the binary.
The text was updated successfully, but these errors were encountered: