diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-02-12 08:10:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 17:10:20 +0100 |
commit | e40ff24c23c9010d66282fa8a3489fe6fa7dc1de (patch) | |
tree | 408b61c6ef0c220285d8f055f3d98bc4cafc7b50 /tests/errmsgs/twrong_at_operator.nim | |
parent | f57774e1e70636ab68e5f2bc0a0cb47f7a8628f5 (diff) | |
download | Nim-e40ff24c23c9010d66282fa8a3489fe6fa7dc1de.tar.gz |
typeToString: type float => typedesc[float] (#17011)
* typeToString: type float => typedesc[float] * fixup * fix tests
Diffstat (limited to 'tests/errmsgs/twrong_at_operator.nim')
-rw-r--r-- | tests/errmsgs/twrong_at_operator.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/errmsgs/twrong_at_operator.nim b/tests/errmsgs/twrong_at_operator.nim index ebf6d966b..d7bfca415 100644 --- a/tests/errmsgs/twrong_at_operator.nim +++ b/tests/errmsgs/twrong_at_operator.nim @@ -1,17 +1,17 @@ discard """ -errormsg: "type mismatch: got <array[0..0, type int]>" +errormsg: "type mismatch: got <array[0..0, typedesc[int]]>" line: 22 nimout: ''' -twrong_at_operator.nim(22, 30) Error: type mismatch: got <array[0..0, type int]> +twrong_at_operator.nim(22, 30) Error: type mismatch: got <array[0..0, typedesc[int]]> but expected one of: proc `@`[IDX, T](a: sink array[IDX, T]): seq[T] first type mismatch at position: 1 required type for a: sink array[IDX, T] - but expression '[int]' is of type: array[0..0, type int] + but expression '[int]' is of type: array[0..0, typedesc[int]] proc `@`[T](a: openArray[T]): seq[T] first type mismatch at position: 1 required type for a: openArray[T] - but expression '[int]' is of type: array[0..0, type int] + but expression '[int]' is of type: array[0..0, typedesc[int]] expression: @[int] ''' |