mirror of
https://github.com/golang/go
synced 2024-11-11 22:00:23 -07:00
cmd/gc: remove node printing in redeclare errors
I suspect this is some debugging which got through the submission process. Fixes #4789. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7310079
This commit is contained in:
parent
6a828482fa
commit
38244018ce
@ -171,9 +171,9 @@ redeclare(Sym *s, char *where)
|
||||
line1 = s->lastlineno;
|
||||
}
|
||||
|
||||
yyerrorl(line1, "%S redeclared %s (%#N)\n"
|
||||
yyerrorl(line1, "%S redeclared %s\n"
|
||||
"\tprevious declaration at %L",
|
||||
s, where, s->def, line2);
|
||||
s, where, line2);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user