You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sym.PackageName() and Sym.ReceiverName() fail to account for dots in the URL of remote packages and naively split on the first dot encountered. This results in the calculated package name being truncated to just the domain of the URL. This can be fixed by treating everything before the last forward slash as being part of the package.
rsc
changed the title
debug/gosym: PackageName() and ReceiverName() return wrong value for remote packages
debug/gosym: PackageName and ReceiverName return wrong value for remote packages
May 17, 2016
Sym.PackageName() and Sym.ReceiverName() fail to account for dots in the URL of remote packages and naively split on the first dot encountered. This results in the calculated package name being truncated to just the domain of the URL. This can be fixed by treating everything before the last forward slash as being part of the package.
go1.6.2 linux/amd64
https://play.golang.org/p/fvvxbm1Ilm
The text was updated successfully, but these errors were encountered: