mirror of
https://github.com/golang/go
synced 2024-11-20 09:34:52 -07: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:
parent
6a135a0894
commit
bd0bb2bc39
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user