aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/import.moon
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-01-25 17:48:03 +0800
committerLi Jin <dragon-fly@qq.com>2020-01-25 17:48:03 +0800
commited317e62eb1cf98fde4461fc90c6cb1045ebc7e8 (patch)
tree427e365939da39f31dbfa755675fb60bb141583d /spec/inputs/import.moon
parent4827d200604a086e2ad94edb4257c3abc7a3c4fc (diff)
downloadyuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.tar.gz
yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.tar.bz2
yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.zip
fix Moonscript issue 375.
Diffstat (limited to 'spec/inputs/import.moon')
-rw-r--r--spec/inputs/import.moon54
1 files changed, 27 insertions, 27 deletions
diff --git a/spec/inputs/import.moon b/spec/inputs/import.moon
index ef6f4ee..ded1ffd 100644
--- a/spec/inputs/import.moon
+++ b/spec/inputs/import.moon
@@ -18,50 +18,50 @@ import something from a table
18 18
19 19
20if indent 20if indent
21 import okay, \well from tables[100] 21 import okay, \well from tables[100]
22 22
23do 23do
24 import a, b, c from z 24 import a, b, c from z
25 25
26do 26do
27 import a, 27 import a,
28 b, c from z 28 b, c from z
29 29
30do 30do
31 import a 31 import a
32 b 32 b
33 c from z 33 c from z
34 34
35do 35do
36 import 36 import
37 a 37 a
38 b 38 b
39 c from z 39 c from z
40 40
41 41
42do 42do
43 import 43 import
44 a 44 a
45 b 45 b
46 c 46 c
47 from z 47 from z
48 48
49 49
50do 50do
51 import 'module' 51 import 'module'
52 import 'module_x' 52 import 'module_x'
53 import "d-a-s-h-e-s" 53 import "d-a-s-h-e-s"
54 import "module.part" 54 import "module.part"
55 55
56do 56do
57 import "player" as Player 57 import "player" as Player
58 import "lpeg" as {:C, :Ct, :Cmt} 58 import "lpeg" as {:C, :Ct, :Cmt}
59 59
60do 60do
61 export * 61 export *
62 import 'module' 62 import 'module'
63 import 'module_x' 63 import 'module_x'
64 import "org.package.module-y" 64 import "org.package.module-y"
65 65
66do 66do
67 import "org.package.module" as {function:func,if:ifVar} 67 import "org.package.module" as {function:func,if:ifVar}