aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/export.mp
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-02-10 20:45:46 +0800
committerLi Jin <dragon-fly@qq.com>2021-02-10 20:50:54 +0800
commit90e5ee7ee432f558b3c55d79fba1fcb2a8ce502f (patch)
tree3b3dd29a627dc16448d6fa628559f65bcd405dac /spec/inputs/export.mp
parentc68e11bc6d7631185749aaf0c8d89147b3ac9cc9 (diff)
downloadyuescript-90e5ee7ee432f558b3c55d79fba1fcb2a8ce502f.tar.gz
yuescript-90e5ee7ee432f558b3c55d79fba1fcb2a8ce502f.tar.bz2
yuescript-90e5ee7ee432f558b3c55d79fba1fcb2a8ce502f.zip
fix issue #38 with a better solution.
Diffstat (limited to 'spec/inputs/export.mp')
-rw-r--r--spec/inputs/export.mp3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/inputs/export.mp b/spec/inputs/export.mp
index 9a494d9..085510e 100644
--- a/spec/inputs/export.mp
+++ b/spec/inputs/export.mp
@@ -43,6 +43,9 @@ export Constant = switch value
43 when "better" then 2 43 when "better" then 2
44 when "best" then 3 44 when "best" then 3
45 45
46export item = 123
47 |> func
48
46export x 49export x
47 50
48f if a then b 51f if a then b