diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-01-28 18:43:14 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-01-28 18:43:14 +0800 |
| commit | dd64edd58fe25ec74ae5958128cf3f74b0692f3b (patch) | |
| tree | 0f2de1df55897e2713977c5a53936757e14b477a /spec/outputs/unicode/string.lua | |
| parent | 7c2a92b82e9808d3c5ea29b47d1c59d663fe984a (diff) | |
| download | yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.gz yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.bz2 yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.zip | |
Fixed compiler issues and added 800+ test cases.
Diffstat (limited to 'spec/outputs/unicode/string.lua')
| -rw-r--r-- | spec/outputs/unicode/string.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/outputs/unicode/string.lua b/spec/outputs/unicode/string.lua index 6bfb033..2fbf0fa 100644 --- a/spec/outputs/unicode/string.lua +++ b/spec/outputs/unicode/string.lua | |||
| @@ -33,21 +33,21 @@ _u53d8_u91cfa = '你好 #{问候} 你好' | |||
| 33 | _u53d8_u91cfb = '#{问候} 你好' | 33 | _u53d8_u91cfb = '#{问候} 你好' |
| 34 | _u53d8_u91cfc = '你好 #{问候}' | 34 | _u53d8_u91cfc = '你好 #{问候}' |
| 35 | local _u53d8_u91cf_ = "你好" | 35 | local _u53d8_u91cf_ = "你好" |
| 36 | local _call_0 = ("你好") | 36 | local _call_0 = "你好" |
| 37 | _call_0["格式"](_call_0, 1) | 37 | _call_0["格式"](_call_0, 1) |
| 38 | local _call_1 = ("你好") | 38 | local _call_1 = "你好" |
| 39 | _call_1["格式"](_call_1, 1, 2, 3) | 39 | _call_1["格式"](_call_1, 1, 2, 3) |
| 40 | local _call_2 = ("你好") | 40 | local _call_2 = "你好" |
| 41 | _call_2["格式"](_call_2, 1, 2, 3)(1, 2, 3) | 41 | _call_2["格式"](_call_2, 1, 2, 3)(1, 2, 3) |
| 42 | local _call_3 = ("你好") | 42 | local _call_3 = "你好" |
| 43 | _call_3["世界"](_call_3) | 43 | _call_3["世界"](_call_3) |
| 44 | local _call_4 = ("你好") | 44 | local _call_4 = "你好" |
| 45 | _call_4["格式"](_call_4)["问候"](1, 2, 3) | 45 | _call_4["格式"](_call_4)["问候"](1, 2, 3) |
| 46 | local _call_5 = ("你好") | 46 | local _call_5 = "你好" |
| 47 | _call_5["格式"](_call_5, 1, 2, 3) | 47 | _call_5["格式"](_call_5, 1, 2, 3) |
| 48 | local _call_6 = _u67d0_u4e8b("你好") | 48 | local _call_6 = _u67d0_u4e8b("你好") |
| 49 | _call_6["世界"](_call_6) | 49 | _call_6["世界"](_call_6) |
| 50 | return _u67d0_u4e8b((function() | 50 | return _u67d0_u4e8b((function() |
| 51 | local _call_7 = ("你好") | 51 | local _call_7 = "你好" |
| 52 | return _call_7["世界"](_call_7) | 52 | return _call_7["世界"](_call_7) |
| 53 | end)()) | 53 | end)()) |
