goto nottop;
walktype(n->left, Erv);
implicitstar(&n->left);
- evconst(n);
t = n->left->type;
if(t == T)
goto ret;
default:
goto badt;
case TSTRING:
+ if(whatis(n->left) == Wlitstr)
+ nodconst(n, types[TINT], n->left->val.u.sval->len);
+ break;
case TMAP:
break;
case TARRAY:
=========== chan/nonblock.go
PASS
-=========== bugs/bug087.go
-bugs/bug087.go:8: illegal combination of literals LEN 9
-bugs/bug087.go:8: illegal combination of literals LEN 9
-BUG: fails incorrectly
-
=========== bugs/bug108.go
bugs/bug108.go:4: stupid shift: 1025
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go