Fixed nimvm in generics.
This commit is contained in:
parent
a480bebfce
commit
4ef4ad305c
3 changed files with 14 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue