]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: do not accept (**T).Method expressions.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Sat, 22 Dec 2012 18:13:45 +0000 (19:13 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Sat, 22 Dec 2012 18:13:45 +0000 (19:13 +0100)
commitced8004a00c62b7aff4e6f6a702f0824b2312fd5
treeea355b7e5de5f7c0186824db1af7e4e0366e0398
parentc956dcdc54937ac17a4e1a01e7353cd9110b7400
cmd/gc: do not accept (**T).Method expressions.

The typechecking code was doing an extra, unnecessary
indirection.

Fixes #4458.

R=golang-dev, daniel.morsing, rsc
CC=golang-dev
https://golang.org/cl/6998051
src/cmd/gc/typecheck.c
test/fixedbugs/issue4458.go [new file with mode: 0644]