diff options
Diffstat (limited to 'tests/errmsgs/twrong_at_operator.nim')
-rw-r--r-- | tests/errmsgs/twrong_at_operator.nim | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/errmsgs/twrong_at_operator.nim b/tests/errmsgs/twrong_at_operator.nim index b6b3d101f..438186f01 100644 --- a/tests/errmsgs/twrong_at_operator.nim +++ b/tests/errmsgs/twrong_at_operator.nim @@ -1,14 +1,20 @@ discard """ -errormsg: "type mismatch: got <array[0..0, type int]>" -line: 15 +errormsg: "type mismatch: got <array[0..0, typedesc[int]]>" nimout: ''' -twrong_at_operator.nim(15, 30) Error: type mismatch: got <array[0..0, type int]> +twrong_at_operator.nim(21, 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, typedesc[int]] proc `@`[T](a: openArray[T]): seq[T] -proc `@`[IDX, T](a: array[IDX, T]): seq[T] + first type mismatch at position: 1 + required type for a: openArray[T] + but expression '[int]' is of type: array[0..0, typedesc[int]] expression: @[int] ''' +disabled: "32bit" """ # bug #7331 |