diff options
author | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2015-09-07 13:49:32 +0300 |
---|---|---|
committer | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2015-09-07 13:49:32 +0300 |
commit | 4ef4ad305cbef808c0677219b38def8e054eeb90 (patch) | |
tree | 6c9aa910b871bf29e48f3526ab4f6140e9984b8a /lib | |
parent | a480bebfce3a06c07edab820acd080983cec7a6b (diff) | |
download | Nim-4ef4ad305cbef808c0677219b38def8e054eeb90.tar.gz |
Fixed nimvm in generics.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim index 5bd8c56c7..65b633266 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1173,12 +1173,12 @@ const ## "i386", "alpha", "powerpc", "powerpc64", "powerpc64el", "sparc", ## "amd64", "mips", "mipsel", "arm", "arm64". - nimvm* {.magic: "Nimvm".}: bool = false + seqShallowFlag = low(int) + +let nimvm* {.magic: "Nimvm".}: bool = false ## may be used only in "when" expression. ## It is true in Nim VM context and false otherwise - seqShallowFlag = low(int) - proc compileOption*(option: string): bool {. magic: "CompileOption", noSideEffect.} ## can be used to determine an on|off compile-time option. Example: |