mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-17 22:41:14 +00:00
make tests green again
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
discard """
|
discard """
|
||||||
line: 24
|
line: 24
|
||||||
errormsg: "expression expected, but found 'keyword else'"
|
errormsg: "invalid indentation"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import macros
|
import macros
|
||||||
@@ -11,7 +11,7 @@ var x = if 4 != 5:
|
|||||||
else:
|
else:
|
||||||
"no"
|
"no"
|
||||||
|
|
||||||
macro mymacro(n): untyped {.immediate.} =
|
macro mymacro(n, b): untyped =
|
||||||
discard
|
discard
|
||||||
|
|
||||||
mymacro:
|
mymacro:
|
||||||
|
|||||||
Reference in New Issue
Block a user