diff options
author | Zahary Karadjov <zahary@gmail.com> | 2017-05-12 18:42:46 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2017-05-12 18:42:46 +0300 |
commit | f4e73344d4b6bcc7282d363a008307d5482f2a22 (patch) | |
tree | 9a8b0a63d4148756c5e628fb72b0442b37b34b8d /lib | |
parent | a802d724525628879dd7eda0c97436ccb4084952 (diff) | |
download | Nim-f4e73344d4b6bcc7282d363a008307d5482f2a22.tar.gz |
covariance for arrays and sequences
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 4dcb39c2a..ad808d8c8 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1344,6 +1344,7 @@ const hasThreadSupport = compileOption("threads") and not defined(nimscript) hasSharedHeap = defined(boehmgc) or defined(gogc) # don't share heaps; every thread has its own taintMode = compileOption("taintmode") + nimEnableCovariance* = defined(nimEnableCovariance) # or true when hasThreadSupport and defined(tcc) and not compileOption("tlsEmulation"): # tcc doesn't support TLS |