1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:34:41 -07:00
R=r
OCL=26090
CL=26090
This commit is contained in:
Ken Thompson 2009-03-10 19:16:31 -07:00
parent 61815b8316
commit d27e9f528d
3 changed files with 3 additions and 6 deletions

View File

@ -733,7 +733,6 @@ loop:
goto nottop;
walktype(n->left, Erv);
implicitstar(&n->left);
evconst(n);
t = n->left->type;
if(t == T)
goto ret;
@ -741,6 +740,9 @@ loop:
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:

View File

@ -115,11 +115,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== 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