1
0
mirror of https://github.com/golang/go synced 2024-11-12 08:20:22 -07:00

gc: do not try to constant-evaluate (interface{})("bar")

Fixes #183.

R=ken
https://golang.org/cl/154139
This commit is contained in:
Russ Cox 2009-11-14 14:14:27 -08:00
parent 0263103a05
commit 4b13d1b9b5

View File

@ -335,6 +335,7 @@ evconst(Node *n)
case OMAKESLICE:
case OMAKECHAN:
case ODCLCONST:
case OCONVIFACE:
return;
}