diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2019-08-30 23:26:45 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-08-31 08:26:45 +0200 |
commit | 9ae0dd611f77c4cd7122e6ac77e0278c1bafbbd7 (patch) | |
tree | c17bac39c0309f3e5c342bce74f525b060de6fee /tests/errmsgs/tsigmatch.nim | |
parent | f9600b7207e45573ee066ec7c9145df113ff5b99 (diff) | |
download | Nim-9ae0dd611f77c4cd7122e6ac77e0278c1bafbbd7.tar.gz |
typeToString can now show (recursively) resolved type aliases; fixes #8569 #8083 #8570 (#11678)
* nested typeToString * typeToString: preferResolved * add test * fix test * preferMixed * fix tests
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]]) |