diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-04-26 16:07:18 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-04-26 16:07:18 +0800 |
| commit | 502af415a7d72bd8229613056e5c5e1dd8ce518d (patch) | |
| tree | e2416c5acd119132c40cd41b8f587851c7f9d33e /spec/inputs/existential.moon | |
| parent | feac3c1cba6ca95b911240217f74a494680cd057 (diff) | |
| download | yuescript-502af415a7d72bd8229613056e5c5e1dd8ce518d.tar.gz yuescript-502af415a7d72bd8229613056e5c5e1dd8ce518d.tar.bz2 yuescript-502af415a7d72bd8229613056e5c5e1dd8ce518d.zip | |
add existential op support for with statement, add repeat until statement.
Diffstat (limited to 'spec/inputs/existential.moon')
| -rw-r--r-- | spec/inputs/existential.moon | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/inputs/existential.moon b/spec/inputs/existential.moon index 7ee3bde..3055705 100644 --- a/spec/inputs/existential.moon +++ b/spec/inputs/existential.moon | |||
| @@ -45,3 +45,7 @@ a = tb1?\end? 123 + tb2?\then 456 | |||
| 45 | 45 | ||
| 46 | b = tb1?\end? or tb2?\then | 46 | b = tb1?\end? or tb2?\then |
| 47 | 47 | ||
| 48 | with? io.open "test.txt", "w" | ||
| 49 | \write "hello" | ||
| 50 | \close! | ||
| 51 | |||
