diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-02-28 18:03:14 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-02-28 18:03:14 +0800 |
| commit | 29db60797bd74656b57a0f20778c76adc78095ac (patch) | |
| tree | e7e54bb45011bb1dc5ba159c80dfffd396a61eed /spec/inputs | |
| parent | 394ee0f64a0dc022f1dab86213d4771982ecf987 (diff) | |
| download | yuescript-29db60797bd74656b57a0f20778c76adc78095ac.tar.gz yuescript-29db60797bd74656b57a0f20778c76adc78095ac.tar.bz2 yuescript-29db60797bd74656b57a0f20778c76adc78095ac.zip | |
Fixed destructuring with empty and comment lines in table issue. Updated docs.v0.33.7
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/whitespace.yue | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/inputs/whitespace.yue b/spec/inputs/whitespace.yue index d0acdde..18e1628 100644 --- a/spec/inputs/whitespace.yue +++ b/spec/inputs/whitespace.yue | |||
| @@ -246,4 +246,17 @@ do | |||
| 246 | -- init xd | 246 | -- init xd |
| 247 | close xd = <close>: => | 247 | close xd = <close>: => |
| 248 | 248 | ||
| 249 | |||
| 250 | do | ||
| 251 | { | ||
| 252 | numbers: [ | ||
| 253 | first | ||
| 254 | second | ||
| 255 | ] | ||
| 256 | properties: | ||
| 257 | :color | ||
| 258 | |||
| 259 | -- dsd | ||
| 260 | } = obj2 | ||
| 261 | |||
| 249 | nil | 262 | nil |
