mirror of
https://github.com/golang/go
synced 2024-11-19 00:04:40 -07:00
bug with array bounds
R=r OCL=16021 CL=16023
This commit is contained in:
parent
8545700af8
commit
fb86c39362
@ -806,6 +806,7 @@ addtyp(Type *n, Type *t, int ctxt)
|
||||
t->sym = s;
|
||||
t->vargen = vargen;
|
||||
|
||||
dowidth(t);
|
||||
for(f=s->forwtype; f!=T; f=f->nforw) {
|
||||
if(!isptr[f->etype])
|
||||
fatal("addtyp: forward");
|
||||
|
Loading…
Reference in New Issue
Block a user