Allow compilation of sharedtables.nim

tableimpl uses {.oldimmediate.}, which is defined in system/inclrtl.
This commit is contained in:
coffeepots 2016-09-09 11:53:17 +01:00 • committed by GitHub
commit 9af584707d

View file

@ -15,6 +15,8 @@
import import
hashes, math, locks hashes, math, locks
include "system/inclrtl"
type type
KeyValuePair[A, B] = tuple[hcode: Hash, key: A, val: B] KeyValuePair[A, B] = tuple[hcode: Hash, key: A, val: B]
KeyValuePairSeq[A, B] = ptr array[10_000_000, KeyValuePair[A, B]] KeyValuePairSeq[A, B] = ptr array[10_000_000, KeyValuePair[A, B]]