diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-08-24 06:25:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-24 06:25:47 +0200 |
commit | ce7f29e8e6628df209ecebb566f9cefc14243aaf (patch) | |
tree | e70a04d3bd577274ea5b0380f76043402b596fdc /tests/errmsgs | |
parent | f2e8c39e851b1d1f55d387d80ae3d9f598a6ef0e (diff) | |
download | Nim-ce7f29e8e6628df209ecebb566f9cefc14243aaf.tar.gz |
fixes #11833 (#12018)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/twrong_at_operator.nim | 4 |
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] |