mirror of
https://github.com/golang/go
synced 2024-11-20 04:54:44 -07:00
segment fault
R=rsc OCL=31396 CL=31396
This commit is contained in:
parent
600d7828a7
commit
5ff7d84892
@ -790,6 +790,10 @@ loop:
|
|||||||
if(top != Erv)
|
if(top != Erv)
|
||||||
goto nottop;
|
goto nottop;
|
||||||
walktype(n->left, Erv);
|
walktype(n->left, Erv);
|
||||||
|
if(n->left == N) {
|
||||||
|
yyerror("missing argument to len");
|
||||||
|
goto ret;
|
||||||
|
}
|
||||||
defaultlit(n->left, T);
|
defaultlit(n->left, T);
|
||||||
implicitstar(&n->left);
|
implicitstar(&n->left);
|
||||||
t = n->left->type;
|
t = n->left->type;
|
||||||
|
Loading…
Reference in New Issue
Block a user