diff options
author | Ray Imber <rayimber@gmail.com> | 2019-01-22 17:05:26 -0800 |
---|---|---|
committer | Timothee Cour <timothee.cour2@gmail.com> | 2019-01-22 17:05:26 -0800 |
commit | 94f6a6b29447caa1814016c61f9dd30b82d83eab (patch) | |
tree | ca89569e5488c9b283a7ce94d3f9aa7cec6434e6 /tests/generics/twrong_generic_object.nim | |
parent | a0c07ef863ffe31cb7f71472d22cefa713edc61a (diff) | |
download | Nim-94f6a6b29447caa1814016c61f9dd30b82d83eab.tar.gz |
Fix for issue #10342. better message for generic subclass instantiation (#10354)
* Fix for issue #10342. better message for generic subclass instantiation errors.
Diffstat (limited to 'tests/generics/twrong_generic_object.nim')
-rw-r--r-- | tests/generics/twrong_generic_object.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generics/twrong_generic_object.nim b/tests/generics/twrong_generic_object.nim index 00d90c55e..442b89ea1 100644 --- a/tests/generics/twrong_generic_object.nim +++ b/tests/generics/twrong_generic_object.nim @@ -1,5 +1,5 @@ discard """ - errormsg: "cannot instantiate: 'GenericNodeObj'" + errormsg: "cannot instantiate: 'GenericNodeObj[T]'; Maybe generic arguments are missing?" line: 21 """ # bug #2509 |