diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-01-25 17:48:03 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-01-25 17:48:03 +0800 |
| commit | ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8 (patch) | |
| tree | 427e365939da39f31dbfa755675fb60bb141583d /spec/inputs/export.moon | |
| parent | 4827d200604a086e2ad94edb4257c3abc7a3c4fc (diff) | |
| download | yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.tar.gz yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.tar.bz2 yuescript-ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8.zip | |
fix Moonscript issue 375.
Diffstat (limited to 'spec/inputs/export.moon')
| -rw-r--r-- | spec/inputs/export.moon | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/spec/inputs/export.moon b/spec/inputs/export.moon index 0a56379..a8c782c 100644 --- a/spec/inputs/export.moon +++ b/spec/inputs/export.moon | |||
| @@ -1,77 +1,77 @@ | |||
| 1 | 1 | ||
| 2 | do | 2 | do |
| 3 | export a,b,c = 223, 343 | 3 | export a,b,c = 223, 343 |
| 4 | export cool = "dad" | 4 | export cool = "dad" |
| 5 | 5 | ||
| 6 | do | 6 | do |
| 7 | export class Something | 7 | export class Something |
| 8 | umm: "cool" | 8 | umm: "cool" |
| 9 | 9 | ||
| 10 | do | 10 | do |
| 11 | export a,b,c | 11 | export a,b,c |
| 12 | a,b,c,d = "hello" | 12 | a,b,c,d = "hello" |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | do | 15 | do |
| 16 | What = if this | 16 | What = if this |
| 17 | 232 | 17 | 232 |
| 18 | else | 18 | else |
| 19 | 4343 | 19 | 4343 |
| 20 | 20 | ||
| 21 | export ^ | 21 | export ^ |
| 22 | 22 | ||
| 23 | another = 3434 | 23 | another = 3434 |
| 24 | Another = 7890 | 24 | Another = 7890 |
| 25 | 25 | ||
| 26 | if inner then Yeah = "10000" | 26 | if inner then Yeah = "10000" |
| 27 | 27 | ||
| 28 | What = if this | 28 | What = if this |
| 29 | 232 | 29 | 232 |
| 30 | else | 30 | else |
| 31 | 4343 | 31 | 4343 |
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | do | 34 | do |
| 35 | export * | 35 | export * |
| 36 | 36 | ||
| 37 | What = if this | 37 | What = if this |
| 38 | 232 | 38 | 232 |
| 39 | else | 39 | else |
| 40 | 4343 | 40 | 4343 |
| 41 | 41 | ||
| 42 | x,y,z = 1,2,3 | 42 | x,y,z = 1,2,3 |
| 43 | 43 | ||
| 44 | y = -> | 44 | y = -> |
| 45 | hallo = 3434 | 45 | hallo = 3434 |
| 46 | 46 | ||
| 47 | with tmp | 47 | with tmp |
| 48 | j = 2000 | 48 | j = 2000 |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | do | 51 | do |
| 52 | export * | 52 | export * |
| 53 | x = 3434 | 53 | x = 3434 |
| 54 | if y then | 54 | if y then |
| 55 | x = 10 | 55 | x = 10 |
| 56 | 56 | ||
| 57 | do | 57 | do |
| 58 | export * | 58 | export * |
| 59 | if y then | 59 | if y then |
| 60 | x = 10 | 60 | x = 10 |
| 61 | x = 3434 | 61 | x = 3434 |
| 62 | 62 | ||
| 63 | do | 63 | do |
| 64 | do | 64 | do |
| 65 | export * | 65 | export * |
| 66 | 66 | ||
| 67 | k = 1212 | 67 | k = 1212 |
| 68 | 68 | ||
| 69 | do | 69 | do |
| 70 | h = 100 | 70 | h = 100 |
| 71 | 71 | ||
| 72 | y = -> | 72 | y = -> |
| 73 | h = 100 | 73 | h = 100 |
| 74 | k = 100 | 74 | k = 100 |
| 75 | 75 | ||
| 76 | h = 100 | 76 | h = 100 |
| 77 | 77 | ||
