]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: disallow multiple nil cases in a type switch
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 30 May 2016 23:42:38 +0000 (16:42 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 31 May 2016 20:31:00 +0000 (20:31 +0000)
commit0e13dbc1a91cbe00e3c83a55f56db69380fe8f68
tree5d21e5be585c78c83ce8fa2f28aae8246293c198
parent7cd6cae6a63f09caa88bbcc394053b40cdeeccd1
cmd/compile: disallow multiple nil cases in a type switch

Fixes #15898.

Change-Id: I66e2ad21f283563c7142aa820f0354711d964768
Reviewed-on: https://go-review.googlesource.com/23573
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/swt.go
test/fixedbugs/issue15898.go [new file with mode: 0644]