aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/export.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-05-17 09:19:20 +0800
committerLi Jin <dragon-fly@qq.com>2023-05-17 09:19:20 +0800
commit78d5e6f44c06ac24aee667b5f9a9e642dcc6208d (patch)
tree78913f601c44a1d85e275a30e4a1272fee00c4cb /spec/inputs/export.yue
parenta8c4737494818e6591cac2191bf3a49cbe990173 (diff)
downloadyuescript-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.yue6
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
32export y = -> 32export yy = ->
33 h = 100 33 h = 100
34 k = 100 34 k = 100
35 35
@@ -84,3 +84,7 @@ export v2 = 2
84export v3 = class v4 84export v3 = class v4
85v5 = 5 85v5 = 5
86 86
87export.<"abc"> = 1
88export.<name> = "export"
89export.<call> = => {}
90export["a-b-c-x"] = 123