cmd/link: include DWARF declaration position for types #25064
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Debugging
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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.TypeName
information so an editor would be forced to implement additional logic to infer where themain
package is located in the binary.Thank you.
The text was updated successfully, but these errors were encountered: