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 0c0782d40f..8299e49a34 100644
--- a/src/cmd/compile/internal/gc/typecheck.go
+++ b/src/cmd/compile/internal/gc/typecheck.go
@@ -3429,7 +3429,7 @@ func typecheckas2(n *Node) {
}
mismatch:
- yyerror("assignment count mismatch: %d = %d", cl, cr)
+ yyerror("assignment count mismatch: want %d values, got %d", cl, cr)
// second half of dance
out: