You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: missing "out of bounds" error slicing [0]T #20749
Activity
josharian commentedon Jun 22, 2017
Found with go-fuzz.
ianlancetaylor commentedon Jun 22, 2017
gccgo says
griesemer commentedon Jun 22, 2017
This is clearly a cmp/compile bug. Interestingly, the compiler complains for an index expression (
b[2]) rather than a slice expression (b[2:]).griesemer commentedon Jun 22, 2017
Trivial fix. Moving to 1.9.
gopherbot commentedon Jun 22, 2017
CL https://golang.org/cl/46466 mentions this issue.