summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/pure/marshal.nim2
-rwxr-xr-xlib/system/threads.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/marshal.nim b/lib/pure/marshal.nim
index e8c30331a..bffc4ebb6 100755
--- a/lib/pure/marshal.nim
+++ b/lib/pure/marshal.nim
@@ -306,7 +306,7 @@ when isMainModule:
   testit(test7)

 

   type 

-    TA = object

+    TA {.inheritable.} = object

     TB = object of TA

       f: int

 

diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 87411c935..81e0cb00a 100755
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -165,7 +165,7 @@ type
   TThreadLocalStorage = array [0..1_000, float]
 
   PGcThread = ptr TGcThread
-  TGcThread {.pure.} = object
+  TGcThread {.pure, inheritable.} = object
     sys: TSysThread
     when emulatedThreadVars and not useStackMaskHack:
       tls: TThreadLocalStorage