aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/existential.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-12-07 23:49:48 +0800
committerLi Jin <dragon-fly@qq.com>2023-12-07 23:55:16 +0800
commit514b9f97febe8920a78d6078b092fe84b859a963 (patch)
tree8c76ba7579f69db7e2c899e4713009b910e0fa89 /spec/inputs/existential.yue
parenta1d719e3bbfe8cd39c05d2a8f49143b9e814f876 (diff)
downloadyuescript-0.21.0.tar.gz
yuescript-0.21.0.tar.bz2
yuescript-0.21.0.zip
changed the if-assignment syntax to prevent some errors.v0.21.0
Diffstat (limited to 'spec/inputs/existential.yue')
-rw-r--r--spec/inputs/existential.yue2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/existential.yue b/spec/inputs/existential.yue
index 27891dc..ec38897 100644
--- a/spec/inputs/existential.yue
+++ b/spec/inputs/existential.yue
@@ -16,7 +16,7 @@ with abc?!\func?!
16 if \p? "abc" 16 if \p? "abc"
17 return 123 17 return 123
18 18
19if {:x} = a?.if?\then?(123)? @?\function 998 19if {:x} := a?.if?\then?(123)? @?\function 998
20 print x 20 print x
21 21
22res = b.function\do!\while?("OK")\if("def",998)\f? 22res = b.function\do!\while?("OK")\if("def",998)\f?