summary refs log tree commit diff stats
path: root/tests/generics/twrong_generic_object.nim
diff options
context:
space:
mode:
authorRay Imber <rayimber@gmail.com>2019-01-22 17:05:26 -0800
committerTimothee Cour <timothee.cour2@gmail.com>2019-01-22 17:05:26 -0800
commit94f6a6b29447caa1814016c61f9dd30b82d83eab (patch)
treeca89569e5488c9b283a7ce94d3f9aa7cec6434e6 /tests/generics/twrong_generic_object.nim
parenta0c07ef863ffe31cb7f71472d22cefa713edc61a (diff)
downloadNim-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.nim2
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