]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: don't crash when slicing non-slice
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 28 Feb 2017 21:44:33 +0000 (13:44 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 2 Mar 2017 15:48:19 +0000 (15:48 +0000)
commit542a60fbdea55ca022fd87146a31b09058ee6850
treefd45fa0073a3ace129fedcbfc1754d7784ed668c
parent6c85fb08c27c0346125567573e0f0a2b8124bc3b
cmd/compile: don't crash when slicing non-slice

Fixes #19323

Change-Id: I92d1bdefb15de6178a577a4fa0f0dc004f791904
Reviewed-on: https://go-review.googlesource.com/37584
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/typecheck.go
test/fixedbugs/issue19323.go [new file with mode: 0644]