diff options
author | Li Jin <dragon-fly@qq.com> | 2022-07-14 17:35:04 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-07-14 17:35:04 +0800 |
commit | f7b674213bd996016cb94c44ef22736a6cbdf6f3 (patch) | |
tree | c130d624f8445813d0b3dfbbbac0d698bd2b0f66 /spec/inputs | |
parent | 9c1d7bca08a88254ac33d7df16fc0a48f34912f4 (diff) | |
download | yuescript-f7b674213bd996016cb94c44ef22736a6cbdf6f3.tar.gz yuescript-f7b674213bd996016cb94c44ef22736a6cbdf6f3.tar.bz2 yuescript-f7b674213bd996016cb94c44ef22736a6cbdf6f3.zip |
fix else clause issue in switch statement with table matching.
Diffstat (limited to 'spec/inputs')
-rw-r--r-- | spec/inputs/switch.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/switch.yue b/spec/inputs/switch.yue index 9e7ecfd..08330bf 100644 --- a/spec/inputs/switch.yue +++ b/spec/inputs/switch.yue | |||
@@ -146,7 +146,7 @@ do | |||
146 | 146 | ||
147 | do | 147 | do |
148 | switch y | 148 | switch y |
149 | when {x: #:mt} | 149 | when {x: #: mt} |
150 | print mt | 150 | print mt |
151 | 151 | ||
152 | nil | 152 | nil |