1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:24:39 -07:00

go.tools/go/types: fix build

(I inadvertently submitted a modified file.)

R=adonovan
CC=golang-dev
https://golang.org/cl/22750044
This commit is contained in:
Robert Griesemer 2013-11-13 15:21:38 -08:00
parent cfc002f30b
commit d1184e294e

View File

@ -53,7 +53,7 @@ func assignments1() {
f -= 1
f /= 0
f = float32(1.0)/0
f = float32(0)/0 /* ERROR "division by zero" */
f -= "foo" /* ERROR "cannot convert.*float64" */
c *= 1