mirror of
https://github.com/golang/go
synced 2024-11-20 11:34:48 -07:00
gc: fix stray %#N in error message
Fixes #2639. R=rsc CC=bradfitz, golang-dev https://golang.org/cl/5489140
This commit is contained in:
parent
ba25778f3f
commit
556258e57b
@ -1013,7 +1013,7 @@ reswitch:
|
||||
goto error;
|
||||
}
|
||||
if(!(t->chan & Csend)) {
|
||||
yyerror("invalid operation: %#N (cannot close receive-only channel)", n);
|
||||
yyerror("invalid operation: %N (cannot close receive-only channel)", n);
|
||||
goto error;
|
||||
}
|
||||
ok |= Etop;
|
||||
|
Loading…
Reference in New Issue
Block a user