]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix inlining bug with receive operator.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 31 Jul 2012 22:45:26 +0000 (00:45 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Tue, 31 Jul 2012 22:45:26 +0000 (00:45 +0200)
commitb6ea905ed9cb1f0db828c0d58609c853eb82b89d
tree2a369cb740e08cd858bc8f69a77fc50af308e063
parentcbc3268d1dda9e2f6a6c5458ba2c859e454057f6
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]