mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00: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…
x
Reference in New Issue
Block a user