diff options
author | Araq <rumpf_a@web.de> | 2018-02-10 20:39:05 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-02-10 20:55:21 +0100 |
commit | ef6eda4cb4b28a6c4a2706ea56240bc708e36349 (patch) | |
tree | 9f7596b6a4127d40a146d56bfb25a1f345e2fd8e /compiler/msgs.nim | |
parent | 51d81c4e23c7f5513a1b2028f02509c860021278 (diff) | |
download | Nim-ef6eda4cb4b28a6c4a2706ea56240bc708e36349.tar.gz |
better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r-- | compiler/msgs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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", |