Bend/tests/golden_tests/run_file/recursive_combinator_nested.bend
2024-05-15 21:26:16 +02:00

8 lines
184 B
Plaintext

# Tests that `({Foo @* a} 9)` is correctly extracted as a combinator, otherwise the file would hang when running
Foo = @a switch a {
0: (#a {Foo @* a} 9);
_: a-1
}
main = (Foo 0)