mirror of
https://github.com/golang/go
synced 2024-11-20 04:44:40 -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)
|
||||
goto nottop;
|
||||
walktype(n->left, Erv);
|
||||
if(n->left == N) {
|
||||
yyerror("missing argument to len");
|
||||
goto ret;
|
||||
}
|
||||
defaultlit(n->left, T);
|
||||
implicitstar(&n->left);
|
||||
t = n->left->type;
|
||||
|
Loading…
Reference in New Issue
Block a user