summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorJasper Jenkins <jasper.vs.jenkins@gmail.com>2019-10-10 23:38:08 -0700
committerAndreas Rumpf <rumpf_a@web.de>2019-10-11 08:38:08 +0200
commit245a954b250b3e95f68c6bdadeba6ef1425442aa (patch)
treeb45356858b54728f3e36ddfb2b13f8e5a54ed0b9 /tests/errmsgs
parent9e62876647e4b7d5c31854abf16596b76cd03b4a (diff)
downloadNim-245a954b250b3e95f68c6bdadeba6ef1425442aa.tar.gz
ungeneric unsigned ops (#12230)
* ungenericise unsigned ops, remove nimNewShiftOps
* fix/remove tests
* update t6448
* fix line info
* disable on 32bit
* fix different line info
* add changelog entry
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/twrong_at_operator.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/errmsgs/twrong_at_operator.nim b/tests/errmsgs/twrong_at_operator.nim
index 9933b0f39..ebf6d966b 100644
--- a/tests/errmsgs/twrong_at_operator.nim
+++ b/tests/errmsgs/twrong_at_operator.nim
@@ -4,14 +4,14 @@ line: 22
 nimout: '''
 twrong_at_operator.nim(22, 30) Error: type mismatch: got <array[0..0, type int]>
 but expected one of:
-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]
 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]
+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]
 
 expression: @[int]
 '''