st = typ(TSTRUCT); // generated structure
ft = T; // last field
while(r != N) {
+ if(r->op == OLITERAL && r->val.ctype == CTNIL) {
+ if(r->type == T || r->type->etype == TNIL) {
+ yyerror("inappropriate use of nil in ... argument");
+ return N;
+ }
+ }
defaultlit(r, T);
-
if(r->type == T) // type check failed
return N;
bugs/bug149.go:14: cannot convert []uint8 constant to string
BUG: should compile
-=========== bugs/bug153.go
-BUG: errchk: bugs/bug153.go:9: error message does not match 'nil'
-bugs/bug153.go:9: fatal error: dowidth: unknown type: E-34
-
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint