mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 17:53:58 +00:00
@@ -412,3 +412,15 @@ block: # bug #24033
|
||||
collections.add (id, str, $num)
|
||||
|
||||
doAssert collections[1] == (1, "foo", "3.14")
|
||||
|
||||
|
||||
block: # bug #25121
|
||||
iterator k(): int =
|
||||
when nimvm:
|
||||
yield 0
|
||||
else:
|
||||
yield 0
|
||||
|
||||
for _ in k():
|
||||
(proc() = (; let _ = block: 0))()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user