summary refs log tree commit diff stats
path: root/lib/system/hti.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-03-01 21:41:21 +0100
committerAraq <rumpf_a@web.de>2015-03-01 21:41:21 +0100
commit24ae0c387f4f95f5e61279dc3c78c117ca939eca (patch)
tree5c0bd2f0fb845c541224b3c49550cf58f8a056fd /lib/system/hti.nim
parent566ee874cde6defb128cdf9df124c45146187129 (diff)
downloadNim-24ae0c387f4f95f5e61279dc3c78c117ca939eca.tar.gz
some love for the testsuite; fixed regressions
Diffstat (limited to 'lib/system/hti.nim')
-rw-r--r--lib/system/hti.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system/hti.nim b/lib/system/hti.nim
index 7dee054ac..aff0c0e6f 100644
--- a/lib/system/hti.nim
+++ b/lib/system/hti.nim
@@ -11,7 +11,7 @@ when declared(NimString):
   # we are in system module:
   {.pragma: codegenType, compilerproc.}
 else:
-  {.pragma: codegenType.}
+  {.pragma: codegenType, importc.}
 
 type 
   # This should be he same as ast.TTypeKind
@@ -65,7 +65,7 @@ type
     tyBigNum,
 
   TNimNodeKind = enum nkNone, nkSlot, nkList, nkCase
-  TNimNode {.codegenType, final.} = object
+  TNimNode {.codegenType.} = object
     kind: TNimNodeKind
     offset: int
     typ: ptr TNimType
@@ -78,7 +78,7 @@ type
     ntfAcyclic = 1,    # type cannot form a cycle
     ntfEnumHole = 2    # enum has holes and thus `$` for them needs the slow
                        # version
-  TNimType {.codegenType, final.} = object
+  TNimType {.codegenType.} = object
     size: int
     kind: TNimKind
     flags: set[TNimTypeFlag]