mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-26 18:41:58 +00:00
put the new for loop macros under an experimental switch named 'forLoopMacros'
This commit is contained in:
@@ -12,7 +12,7 @@ discard """
|
||||
"""
|
||||
|
||||
import macros
|
||||
|
||||
{.experimental: "forLoopMacros".}
|
||||
macro mymacro(): untyped =
|
||||
result = newLit([1, 2, 3])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user