about summary refs log tree commit diff
path: root/boot/tests/parse/try_must.cskt
diff options
context:
space:
mode:
Diffstat (limited to 'boot/tests/parse/try_must.cskt')
-rw-r--r--boot/tests/parse/try_must.cskt12
1 files changed, 12 insertions, 0 deletions
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