typetraits.$: $((int, float), int) is now "((int, float), int)" instead of "(tuple of (int, float), int)" (#14812)
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
dc5a40f3f3
commit
a6cbe58e8c
6 changed files with 11 additions and 12 deletions
|
|
@ -5,7 +5,7 @@ discard """
|
|||
# bug #7937
|
||||
|
||||
template printError(error: typed) =
|
||||
# Error: inconsistent typing for reintroduced symbol 'instInfo': previous type was: tuple[filename: string, line: int, column: int]; new type is: tuple of (string, int, int)
|
||||
# Error: inconsistent typing for reintroduced symbol 'instInfo': previous type was: tuple[filename: string, line: int, column: int]; new type is: (string, int, int)
|
||||
let instInfo {.gensym.} = instantiationInfo()
|
||||
echo "Error at ", instInfo.filename, ':', instInfo.line, ": ", error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue