diff options
author | Li Jin <dragon-fly@qq.com> | 2023-12-07 23:49:48 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-12-07 23:55:16 +0800 |
commit | 514b9f97febe8920a78d6078b092fe84b859a963 (patch) | |
tree | 8c76ba7579f69db7e2c899e4713009b910e0fa89 /spec/inputs/unicode/pipe.yue | |
parent | a1d719e3bbfe8cd39c05d2a8f49143b9e814f876 (diff) | |
download | yuescript-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/unicode/pipe.yue')
-rw-r--r-- | spec/inputs/unicode/pipe.yue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/inputs/unicode/pipe.yue b/spec/inputs/unicode/pipe.yue index 2cd41ee..085a2cf 100644 --- a/spec/inputs/unicode/pipe.yue +++ b/spec/inputs/unicode/pipe.yue | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | 变量b = 1 + 2 + (4 |> tostring |> 打印(1) or 123) | 12 | 变量b = 1 + 2 + (4 |> tostring |> 打印(1) or 123) |
13 | 13 | ||
14 | if 变量x = 233 |> math.max 998 | 14 | if 变量x := 233 |> math.max 998 |
15 | 打印 变量x | 15 | 打印 变量x |
16 | 16 | ||
17 | with 变量b |> 创建? "new" | 17 | with 变量b |> 创建? "new" |