]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] cmd/gc: avoid an internal error on invalid type switch.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 21 Sep 2012 19:54:05 +0000 (05:54 +1000)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Fri, 21 Sep 2012 19:54:05 +0000 (05:54 +1000)
commit705534bd309c8db6b2f616ee29b83dc5483ed4df
treec76b401781e114c9c236baecbb6c5a07568b5ea4
parentca64251832249c8093f3150b969b5c10c674c8fd
[release-branch.go1] cmd/gc: avoid an internal error on invalid type switch.

««« backport 254232c99b3e
cmd/gc: avoid an internal error on invalid type switch.

The error was caused by a call to implements() even when
the type switch variable was not an interface.

Fixes #3786.

R=golang-dev, r
CC=golang-dev, remy
https://golang.org/cl/6354102

»»»
src/cmd/gc/swt.c