1
0
mirror of https://github.com/golang/go synced 2024-10-03 13:21:22 -06:00

cmd/gc: fix error message for type errors involving conversions.

Fixes #3818.

R=golang-dev, rsc, r
CC=golang-dev, remy
https://golang.org/cl/6352106
This commit is contained in:
Rémy Oudompheng 2012-07-12 23:26:52 +02:00
parent 6a135a0894
commit bd0bb2bc39

View File

@ -1384,6 +1384,7 @@ assignconv(Node *n, Type *t, char *context)
r->type = t;
r->typecheck = 1;
r->implicit = 1;
r->orig = n;
return r;
}