diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-10-21 10:06:31 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-10-21 10:06:31 +0800 |
| commit | 3dd607c8887d2fe0186668aabca31bb84a41e2da (patch) | |
| tree | 49c406e9b48d794f7004b0ddf1945b2c7014bc3a /spec/inputs | |
| parent | 6b6e98d062c7ec5f11be79ed5164aa59047dab30 (diff) | |
| download | yuescript-3dd607c8887d2fe0186668aabca31bb84a41e2da.tar.gz yuescript-3dd607c8887d2fe0186668aabca31bb84a41e2da.tar.bz2 yuescript-3dd607c8887d2fe0186668aabca31bb84a41e2da.zip | |
fix issue #111.
Diffstat (limited to 'spec/inputs')
| -rw-r--r-- | spec/inputs/cond.yue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/inputs/cond.yue b/spec/inputs/cond.yue index 9981e93..638b5c3 100644 --- a/spec/inputs/cond.yue +++ b/spec/inputs/cond.yue | |||
| @@ -219,6 +219,13 @@ do | |||
| 219 | :Thing = _M | 219 | :Thing = _M |
| 220 | :a, :b = _M | 220 | :a, :b = _M |
| 221 | 221 | ||
| 222 | do | ||
| 223 | v = if 1 and do | ||
| 224 | 0 ~= 1 | ||
| 225 | 1 | ||
| 226 | else | ||
| 227 | 2 | ||
| 228 | |||
| 222 | nil | 229 | nil |
| 223 | 230 | ||
| 224 | 231 | ||
