1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:04:44 -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:
Luuk van Dijk 2012-01-10 11:09:04 +01:00
parent ba25778f3f
commit 556258e57b

View File

@ -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;