diff options
author | Li Jin <dragon-fly@qq.com> | 2023-05-17 09:19:20 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-05-17 09:19:20 +0800 |
commit | 78d5e6f44c06ac24aee667b5f9a9e642dcc6208d (patch) | |
tree | 78913f601c44a1d85e275a30e4a1272fee00c4cb /spec/inputs/export.yue | |
parent | a8c4737494818e6591cac2191bf3a49cbe990173 (diff) | |
download | yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.gz yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.tar.bz2 yuescript-78d5e6f44c06ac24aee667b5f9a9e642dcc6208d.zip |
fix issue #133.
Diffstat (limited to 'spec/inputs/export.yue')
-rw-r--r-- | spec/inputs/export.yue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/inputs/export.yue b/spec/inputs/export.yue index 15ffbcb..66e6736 100644 --- a/spec/inputs/export.yue +++ b/spec/inputs/export.yue | |||
@@ -29,7 +29,7 @@ export cbVal = do | |||
29 | (x)<- f | 29 | (x)<- f |
30 | return x h | 30 | return x h |
31 | 31 | ||
32 | export y = -> | 32 | export yy = -> |
33 | h = 100 | 33 | h = 100 |
34 | k = 100 | 34 | k = 100 |
35 | 35 | ||
@@ -84,3 +84,7 @@ export v2 = 2 | |||
84 | export v3 = class v4 | 84 | export v3 = class v4 |
85 | v5 = 5 | 85 | v5 = 5 |
86 | 86 | ||
87 | export.<"abc"> = 1 | ||
88 | export.<name> = "export" | ||
89 | export.<call> = => {} | ||
90 | export["a-b-c-x"] = 123 | ||