diff options
-rw-r--r-- | spec/inputs/backcall.moon | 3 | ||||
-rw-r--r-- | spec/inputs/existential.moon | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/spec/inputs/backcall.moon b/spec/inputs/backcall.moon index 2972b1d..30a0f8f 100644 --- a/spec/inputs/backcall.moon +++ b/spec/inputs/backcall.moon | |||
@@ -104,3 +104,6 @@ propB = do | |||
104 | @_value | 104 | @_value |
105 | 105 | ||
106 | alert "hi" | 106 | alert "hi" |
107 | |||
108 | x = 123 |> a |> b or 456 |> c |> d or a.if\then("abc") or a?.b\c?(123) or x\y | ||
109 | |||
diff --git a/spec/inputs/existential.moon b/spec/inputs/existential.moon index 2264768..831383b 100644 --- a/spec/inputs/existential.moon +++ b/spec/inputs/existential.moon | |||
@@ -39,3 +39,7 @@ if window? | |||
39 | 39 | ||
40 | zip = lottery.drawWinner?!.address?.zipcode | 40 | zip = lottery.drawWinner?!.address?.zipcode |
41 | 41 | ||
42 | len = utf8?.len or string?.len or (o) -> #o | ||
43 | |||
44 | a = tb1?\end? 123 + tb2?\then 456 | ||
45 | |||