aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/nil_coalesing.yue
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/inputs/nil_coalesing.yue5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/inputs/nil_coalesing.yue b/spec/inputs/nil_coalesing.yue
index facd64c..76915c7 100644
--- a/spec/inputs/nil_coalesing.yue
+++ b/spec/inputs/nil_coalesing.yue
@@ -39,5 +39,10 @@ do
39do 39do
40 a = 1 ?? 2 ?? 3 40 a = 1 ?? 2 ?? 3
41 41
42do
43 a.b.c ??= 1
44 a = b.x ?? c.x ?? d.x
45 a.c ??= 1
46
42nil 47nil
43 48