mirror of
https://github.com/golang/go
synced 2024-11-22 21:20:03 -07:00
another nil reference
R=rsc OCL=31373 CL=31373
This commit is contained in:
parent
d6d0a39050
commit
a68b1da3cc
@ -107,6 +107,8 @@ updatetype(Type *n, Type *t)
|
|||||||
int local, vargen;
|
int local, vargen;
|
||||||
int maplineno, lno, etype;
|
int maplineno, lno, etype;
|
||||||
|
|
||||||
|
if(t == T)
|
||||||
|
return;
|
||||||
s = n->sym;
|
s = n->sym;
|
||||||
if(s == S || s->def == N || s->def->op != OTYPE || s->def->type != n)
|
if(s == S || s->def == N || s->def->op != OTYPE || s->def->type != n)
|
||||||
fatal("updatetype %T = %T", n, t);
|
fatal("updatetype %T = %T", n, t);
|
||||||
|
Loading…
Reference in New Issue
Block a user