Commit 556258e5 authored by Luuk van Dijk's avatar Luuk van Dijk

gc: fix stray %#N in error message

Fixes #2639.

R=rsc
CC=bradfitz, golang-dev
https://golang.org/cl/5489140
parent ba25778f
...@@ -1013,7 +1013,7 @@ reswitch: ...@@ -1013,7 +1013,7 @@ reswitch:
goto error; goto error;
} }
if(!(t->chan & Csend)) { 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; goto error;
} }
ok |= Etop; ok |= Etop;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment