summary refs log tree commit diff stats
path: root/tests/generics/tcan.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generics/tcan.nim')
-rw-r--r--tests/generics/tcan.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generics/tcan.nim b/tests/generics/tcan.nim
index eea69cdb7..bbefa7233 100644
--- a/tests/generics/tcan.nim
+++ b/tests/generics/tcan.nim
@@ -31,7 +31,7 @@ block tinherit:
 
 block tspecialise:
   type
-    TGen[T] = object {.inheritable.}
+    TGen[T] {.inheritable.} = object
     TSpef = object of TGen[string]