aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/gc/typecheck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/gc/typecheck.go b/src/cmd/compile/internal/gc/typecheck.go
index a6c54f4569..ab2c77a3fb 100644
--- a/src/cmd/compile/internal/gc/typecheck.go
+++ b/src/cmd/compile/internal/gc/typecheck.go
@@ -3426,7 +3426,7 @@ func typecheckas2(n *Node) {
}
mismatch:
- yyerror("cannot assign %d values to %d variables", cr, cl)
+ yyerror("assignment mismatch: %d variables but %d values", cl, cr)
// second half of dance
out: