computable-pandoc/tests/fail.lit.complex.md

21 lines
379 B
Markdown
Raw Normal View History

2023-03-14 15:40:43 -06:00
# Declarations
-- fn1(x)
#x + 2 + 3
# Invalid Declarations
-- fn0 not declared: fn3(x)
#fn0 * #x
-- infinite loop: fn3(x)
#fn3(1) * #x
# Invalid Calls
2023-03-15 17:33:53 -06:00
- fn1(1, $action: "foo") has invalid rkwarg value
- fn1(1, $act: "shift") has invalid rkwarg
- fn1(fn4()); \fn4() is not declared
2023-03-14 15:40:43 -06:00
Invalid calls and declarations generate and collects errors.