]> Cypherpunks repositories - gostls13.git/commit
We should not silently permit a named type to match an unnamed
authorIan Lance Taylor <iant@golang.org>
Mon, 2 Nov 2009 19:58:47 +0000 (11:58 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 2 Nov 2009 19:58:47 +0000 (11:58 -0800)
commit6358cac7d85544d77ca27597bc4a46c61d0d964e
treee78d5a00a308488f2a5e4efbf0c5308cf3a73b6f
parenta82465103f93a80ec8de3c9e304663c335094d54
We should not silently permit a named type to match an unnamed
type.  This is OK in a conversion but not in an assignment.

R=rsc
http://go/go-review/1016024
test/bugs/bug212.go