1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:37:56 -07:00
Commit Graph

1 Commits

Author SHA1 Message Date
Rémy Oudompheng
60e4a61d30 gc: don't inherit orig from subnodes in constant expression nodes.
The wrong value made Nconv() show "1" for node "-1", and "2" from
node "2+3".
Fixes #2452.

R=gri, lvd, rsc
CC=golang-dev, remy
https://golang.org/cl/5435064
2011-11-28 12:22:15 -05:00