Use the new {.experimental.} pragma. Fix https://github.com/nim-lang/Nim/issues/8676, linked to da41fc1801

This commit is contained in:
mratsim 2018-08-17 19:34:10 +02:00
parent 2a85ed2e40
commit 215293756a

View File

@ -12,6 +12,8 @@ import ./datatypes, ./conversion, macros
# #########################################################################
# Multi-precision ints to compile-time array of words
{.experimental: "ForLoopMacros".}
proc asWordsImpl(x: NimNode, current_path: NimNode, result: var NimNode) =
## Transforms an UintImpl/IntImpl into an array of words
## at compile-time. Recursive implementation.