]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] cmd/gc: fix inlining bug with receive operator.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 21 Sep 2012 19:54:22 +0000 (05:54 +1000)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 21 Sep 2012 19:54:22 +0000 (05:54 +1000)
commitbedafd2ddb4f758111f9d24729a8815caa6cbcb0
treedfcd6f688e643997013da20888ca3ec7a0fdb17c
parent82de010886dfc0d5d2130152387518bd549a77f3
[release-branch.go1] cmd/gc: fix inlining bug with receive operator.

««« backport d872ed20fccb
cmd/gc: fix inlining bug with receive operator.

The receive operator was given incorrect precedence
resulting in incorrect deletion of parentheses.

Fixes #3843.

R=rsc
CC=golang-dev, remy
https://golang.org/cl/6442049

»»»
src/cmd/gc/fmt.c
test/fixedbugs/bug448.dir/pkg1.go [new file with mode: 0644]
test/fixedbugs/bug448.dir/pkg2.go [new file with mode: 0644]
test/fixedbugs/bug448.go [new file with mode: 0644]