mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: make more use of exported position information
Updates #19683. Change-Id: I64b3b93a3ab14518a5376e1270bdd2a94bdd67ef Reviewed-on: https://go-review.googlesource.com/59611 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
d30f99647a
commit
3124439b3a
4 changed files with 36 additions and 25 deletions
|
|
@ -874,7 +874,7 @@ func loadsys() {
|
|||
n.Type = typ
|
||||
declare(n, PFUNC)
|
||||
case varTag:
|
||||
importvar(Runtimepkg, sym, typ)
|
||||
importvar(lineno, Runtimepkg, sym, typ)
|
||||
default:
|
||||
Fatalf("unhandled declaration tag %v", d.tag)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue