diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-07-02 07:19:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 16:19:43 +0200 |
commit | a6cbe58e8c5a9b89d749d9935ee39192de3246d9 (patch) | |
tree | e17a5ff00a5ced96996d20a561ce799077fa016a /tests/errmsgs/tsigmatch.nim | |
parent | dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99 (diff) | |
download | Nim-a6cbe58e8c5a9b89d749d9935ee39192de3246d9.tar.gz |
typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead of `"(tuple of (int, float), int)" (#14812)
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'tests/errmsgs/tsigmatch.nim')
-rw-r--r-- | tests/errmsgs/tsigmatch.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/errmsgs/tsigmatch.nim b/tests/errmsgs/tsigmatch.nim index 414c972c9..4f40be2d4 100644 --- a/tests/errmsgs/tsigmatch.nim +++ b/tests/errmsgs/tsigmatch.nim @@ -12,12 +12,12 @@ proc f(b: B) but expression 'A()' is of type: A expression: f(A(), "extra") -tsigmatch.nim(125, 6) Error: type mismatch: got <tuple of (string, proc (){.gcsafe, locks: 0.})> +tsigmatch.nim(125, 6) Error: type mismatch: got <(string, proc (){.gcsafe, locks: 0.})> but expected one of: proc foo(x: (string, proc ())) first type mismatch at position: 1 - required type for x: tuple of (string, proc (){.closure.}) - but expression '("foobar", proc () = echo(["Hello!"]))' is of type: tuple of (string, proc (){.gcsafe, locks: 0.}) + required type for x: (string, proc (){.closure.}) + but expression '("foobar", proc () = echo(["Hello!"]))' is of type: (string, proc (){.gcsafe, locks: 0.}) expression: foo(("foobar", proc () = echo(["Hello!"]))) tsigmatch.nim(132, 11) Error: type mismatch: got <proc (s: string): string{.noSideEffect, gcsafe, locks: 0.}> |