diff options
Diffstat (limited to 'tests/errmsgs/tsigmatch.nim')
-rw-r--r-- | tests/errmsgs/tsigmatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errmsgs/tsigmatch.nim b/tests/errmsgs/tsigmatch.nim index 42a98a891..21e2c217d 100644 --- a/tests/errmsgs/tsigmatch.nim +++ b/tests/errmsgs/tsigmatch.nim @@ -36,7 +36,7 @@ tsigmatch.nim(143, 13) Error: type mismatch: got <array[0..0, proc (x: int){.gcs but expected one of: proc takesFuncs(fs: openArray[proc (x: int) {.gcsafe, locks: 0.}]) first type mismatch at position: 1 - required type for fs: openarray[proc (x: int){.closure, gcsafe, locks: 0.}] + required type for fs: openArray[proc (x: int){.closure, gcsafe, locks: 0.}] but expression '[proc (x: int) {.gcsafe, locks: 0.} = echo [x]]' is of type: array[0..0, proc (x: int){.gcsafe, locks: 0.}] expression: takesFuncs([proc (x: int) {.gcsafe, locks: 0.} = echo [x]]) |