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:
parent
0263103a05
commit
4b13d1b9b5
@ -335,6 +335,7 @@ evconst(Node *n)
|
||||
case OMAKESLICE:
|
||||
case OMAKECHAN:
|
||||
case ODCLCONST:
|
||||
case OCONVIFACE:
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user