diff options
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/lists.yue | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/inputs/lists.yue b/spec/inputs/lists.yue index f754cc1..dd951a5 100644 --- a/spec/inputs/lists.yue +++ b/spec/inputs/lists.yue | |||
| @@ -267,4 +267,14 @@ do | |||
| 267 | f = -> globalTB[#][#] = 1 | 267 | f = -> globalTB[#][#] = 1 |
| 268 | f1 = -> globalTB[#][# - 1] | 268 | f1 = -> globalTB[#][# - 1] |
| 269 | 269 | ||
| 270 | do | ||
| 271 | tbA[] = ...tbB | ||
| 272 | a, tb[], b[], c = 1, ...x, 3, 4 | ||
| 273 | |||
| 274 | data = | ||
| 275 | a: {1,2,3} | ||
| 276 | b: {4,5,6} | ||
| 277 | |||
| 278 | flat = [...v for k,v in pairs data] | ||
| 279 | |||
| 270 | nil | 280 | nil |
