put the new for loop macros under an experimental switch named 'forLoopMacros'
This commit is contained in:
parent
27e1fbe7db
commit
da41fc1801
4 changed files with 13 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ discard """
|
|||
"""
|
||||
|
||||
import macros
|
||||
|
||||
{.experimental: "forLoopMacros".}
|
||||
macro mymacro(): untyped =
|
||||
result = newLit([1, 2, 3])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue