From ef6eda4cb4b28a6c4a2706ea56240bc708e36349 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 10 Feb 2018 20:39:05 +0100 Subject: better error messages: use instead of (T1, T2) in order to prevent confusions with tuple types --- compiler/msgs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/msgs.nim') diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 954883b01..6439d47ee 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -272,7 +272,7 @@ const errXStackEscape: "address of '$1' may not escape its stack frame", errVarForOutParamNeededX: "for a \'var\' type a variable needs to be passed; but '$1' is immutable", errPureTypeMismatch: "type mismatch", - errTypeMismatch: "type mismatch: got (", + errTypeMismatch: "type mismatch: got <", errButExpected: "but expected one of: ", errButExpectedX: "but expected \'$1\'", errAmbiguousCallXYZ: "ambiguous call; both $1 and $2 match for: $3", -- cgit 1.4.1-2-gfad0