From 620d82a5e314a82784e02b4af387a67d53242149 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 5 Jul 2025 22:48:09 +0200 Subject: Correctly recurse over self-containing non-homogenous postfix-type expressions Signed-off-by: Mel --- boot/tests/parse/try_must.cskt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'boot/tests/parse/try_must.cskt') diff --git a/boot/tests/parse/try_must.cskt b/boot/tests/parse/try_must.cskt index e69de29..b111ed5 100644 --- a/boot/tests/parse/try_must.cskt +++ b/boot/tests/parse/try_must.cskt @@ -0,0 +1,12 @@ +chaining of try and must expressions, with themselves +and across multiple members + +<<< + +a!.b?.c? +c!!! + +>>> + +(expr (try (expr (member of (expr (try (expr (member of (expr (must (expr (name a)))) named b)))) named c)))) +(expr (must (expr (must (expr (must (expr (name c)))))))) \ No newline at end of file -- cgit 1.4.1