This commit is contained in:
Andreas Rumpf 2019-08-24 06:25:47 +02:00 • committed by GitHub
commit ce7f29e8e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 31 additions and 22 deletions

View file

@ -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]