aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r--spec/inputs/syntax.yue5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index aed4144..cb947e1 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -183,6 +183,11 @@ a["hello"] += 10
183a["hello#{tostring ff}"] += 10 183a["hello#{tostring ff}"] += 10
184a[four].x += 10 184a[four].x += 10
185 185
186a.b += 1
187a.b[1].c[2+3] += 1
188with tb
189 .a.c += 1
190
186x = 0 191x = 0
187_ = (if ntype(v) == "fndef" then x += 1) for v in *values 192_ = (if ntype(v) == "fndef" then x += 1) for v in *values
188 193