summary refs log tree commit diff stats
path: root/tests/errmsgs
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-08-24 06:25:47 +0200
committerGitHub <noreply@github.com>2019-08-24 06:25:47 +0200
commitce7f29e8e6628df209ecebb566f9cefc14243aaf (patch)
treee70a04d3bd577274ea5b0380f76043402b596fdc /tests/errmsgs
parentf2e8c39e851b1d1f55d387d80ae3d9f598a6ef0e (diff)
downloadNim-ce7f29e8e6628df209ecebb566f9cefc14243aaf.tar.gz
fixes #11833 (#12018)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r--tests/errmsgs/twrong_at_operator.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/errmsgs/twrong_at_operator.nim b/tests/errmsgs/twrong_at_operator.nim
index 7ce077003..edf584094 100644
--- a/tests/errmsgs/twrong_at_operator.nim
+++ b/tests/errmsgs/twrong_at_operator.nim
@@ -8,9 +8,9 @@ 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: array[IDX, T]): seq[T]
+proc `@`[IDX, T](a: sink array[IDX, T]): seq[T]
   first type mismatch at position: 1
-  required type for a: array[IDX, T]
+  required type for a: sink array[IDX, T]
   but expression '[int]' is of type: array[0..0, type int]
 
 expression: @[int]