| commit | 1ca7bc268bd78551cd668df9a45b36769cd0172d | [log] [tgz] |
|---|---|---|
| author | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Thu Jul 12 23:31:36 2012 +0200 |
| committer | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Thu Jul 12 23:31:36 2012 +0200 |
| tree | 7559377871a82eb59e9fffca5cd81a33240aefe1 | |
| parent | bd0bb2bc3995e91daf92e0fbb9550f207d940e3a [diff] |
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