mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
16 lines
297 B
Nim
16 lines
297 B
Nim
discard """
|
|
errormsg: "interpretation requires too many iterations; if you are sure this is not a bug in your code"
|
|
"""
|
|
|
|
# issue #9829
|
|
|
|
macro foo(): untyped =
|
|
let lines = ["123", "5423"]
|
|
var idx = 0
|
|
while idx < lines.len():
|
|
if lines[idx].len() < 1:
|
|
inc(idx)
|
|
continue
|
|
|
|
foo()
|