better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types
This commit is contained in:
parent
51d81c4e23
commit
ef6eda4cb4
25 changed files with 62 additions and 62 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue