]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: remove bad check for BADWIDTH
authorDaniel Morsing <daniel.morsing@gmail.com>
Tue, 11 Dec 2012 16:36:10 +0000 (17:36 +0100)
committerDaniel Morsing <daniel.morsing@gmail.com>
Tue, 11 Dec 2012 16:36:10 +0000 (17:36 +0100)
commit0d22573f6e053ae12c09d65a8b7c4d5b604317fb
tree02b44da8bf81d7444acb24308100d4f6334683dd
parent2f45f2801da90350c2a2dbf7e36cd97f5fb7ce0f
cmd/gc: remove bad check for BADWIDTH

This check for BADWIDTH might happen while in defercheckwidth, making it raise errors for non-erroneous situations.

Fixes #4495.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6927043
src/cmd/gc/typecheck.c
test/fixedbugs/issue4495.go [new file with mode: 0644]