]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.8] 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)
committerAustin Clements <austin@google.com>
Wed, 5 Apr 2017 16:58:29 +0000 (16:58 +0000)
commit752b8b773de301ef8afe838e71d7a5f23f941b1a
tree918fce662db0deabb78857682f107bdc9f590ad0
parentff5695d0fdc41deb22053cb1daf7dd338b86f40d
[release-branch.go1.8] cmd/compile: don't crash when slicing non-slice

Fixes #19323
Fixes #19638 (backport)

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