diff options
Diffstat (limited to 'src/cmd/gc/subr.c')
-rw-r--r-- | src/cmd/gc/subr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index e1fb97d62..90cc9dc0b 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -301,6 +301,12 @@ algtype(Type *t) if(isptr[t->etype]) a = APTR; // pointer else + if(t->etype == TARRAY) + a = AARRAY; + else + if(t->etype == TSTRUCT) + a = ASTRUCT; + else if(isinter(t)) a = AINTER; // interface // else |