mirror of
https://github.com/golang/go
synced 2024-11-15 06:40:37 -07:00
[release-branch.go1] cmd/gc: fix error message for type errors involving conversions.
««« backport a281d4bd1ba6 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
939e2b572d
commit
ca64251832
@ -1379,6 +1379,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