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