mirror of
https://github.com/go-delve/delve.git
synced 2026-05-06 04:36:16 +02:00
cmd/dlv: use goversion.ParseProducer for DW_AT_producer (#4307)
This commit is contained in:
parent
c4280281d2
commit
c9ed7c0b23
@ -699,7 +699,7 @@ func (t *Term) goVersion() *goversion.GoVersion {
|
||||
return t.goVersionCache
|
||||
}
|
||||
vers := t.client.GetVersion()
|
||||
v, _ := goversion.Parse(vers.TargetGoVersion)
|
||||
v := goversion.ParseProducer(vers.TargetGoVersion)
|
||||
t.goVersionCache = &v
|
||||
return t.goVersionCache
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user