diff options
author | Li Jin <dragon-fly@qq.com> | 2022-02-15 10:11:41 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-02-15 10:11:41 +0800 |
commit | 54724743272ac4da212e814c3c7daf8f8abf6de0 (patch) | |
tree | 2efda6d00755644b5d1abcc42443fcb41c88f5f1 /spec/inputs | |
parent | f4e2286da2b0212b0a7ac76821203bd398cfac5b (diff) | |
download | yuescript-54724743272ac4da212e814c3c7daf8f8abf6de0.tar.gz yuescript-54724743272ac4da212e814c3c7daf8f8abf6de0.tar.bz2 yuescript-54724743272ac4da212e814c3c7daf8f8abf6de0.zip |
fix an extra global check case.
Diffstat (limited to 'spec/inputs')
-rw-r--r-- | spec/inputs/cond.yue | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/inputs/cond.yue b/spec/inputs/cond.yue index d33eec4..42b22a7 100644 --- a/spec/inputs/cond.yue +++ b/spec/inputs/cond.yue | |||
@@ -200,6 +200,14 @@ do | |||
200 | elseif c | 200 | elseif c |
201 | d: e = tb | 201 | d: e = tb |
202 | 202 | ||
203 | if :pi = math | ||
204 | print pi | ||
205 | |||
206 | do | ||
207 | local math | ||
208 | if :pi = math | ||
209 | print pi | ||
210 | |||
203 | nil | 211 | nil |
204 | 212 | ||
205 | 213 | ||