From 4b13d1b9b5e8fd6e245a3da3257a3157930dc9a0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 14 Nov 2009 14:14:27 -0800 Subject: [PATCH] gc: do not try to constant-evaluate (interface{})("bar") Fixes #183. R=ken https://golang.org/cl/154139 --- src/cmd/gc/const.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/gc/const.c b/src/cmd/gc/const.c index 5829904196..8cc4c247d6 100644 --- a/src/cmd/gc/const.c +++ b/src/cmd/gc/const.c @@ -335,6 +335,7 @@ evconst(Node *n) case OMAKESLICE: case OMAKECHAN: case ODCLCONST: + case OCONVIFACE: return; }