1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/results/for invalid iterator.ans

19 lines
No EOL
1 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--# run #--
--- error ---
can't call overload iter: no function match arguments (value), possible functions were:
• $(table::is table) (from stdlib/for.ans:46:1):
value check failure for parameter table
• $(tuple::is sequence) (from stdlib/for.ans:37:1):
value check failure for parameter tuple
• $(range::is range) (from stdlib/for.ans:19:1):
value check failure for parameter range
• $(s::is struct) (from stdlib/for.ans:2:1):
value check failure for parameter s
↳ from stdlib/for.ans:3:18 in call: iter(var)
↳ from stdlib/for.ans:3:12 in call: :iterator = iter(var)
↳ from stdlib/for.ans:3:1 in block: :iterator = iter(var)…
↳ from stdlib/for.ans:2:70 in call: _
↳ from test/tests/for invalid iterator.ans:1:4 in call: for(:x, 42)
↳ from test/tests/for invalid iterator.ans:1:1 in block: for(:x, 42)…
--# saved #--
{}