diff options
-rw-r--r-- | src/cmd/gc/subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 4f646fbc1..9dfb445c6 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -333,7 +333,7 @@ algtype(Type *t) a = ASTRING; // string else if(isnilinter(t)) a = ANILINTER; // nil interface - else if(t->etype == TINTER) + else if(t->etype == TINTER || t->etype == TFORWINTER) a = AINTER; // interface else a = ANOEQ; // just bytes, but no hash/eq |