diff options
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r-- | spec/inputs/syntax.yue | 5 |
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 | |||
183 | a["hello#{tostring ff}"] += 10 | 183 | a["hello#{tostring ff}"] += 10 |
184 | a[four].x += 10 | 184 | a[four].x += 10 |
185 | 185 | ||
186 | a.b += 1 | ||
187 | a.b[1].c[2+3] += 1 | ||
188 | with tb | ||
189 | .a.c += 1 | ||
190 | |||
186 | x = 0 | 191 | x = 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 | ||