diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/inputs/syntax.moon | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon index a781aa3..80b762c 100644 --- a/spec/inputs/syntax.moon +++ b/spec/inputs/syntax.moon | |||
@@ -346,5 +346,28 @@ v = { | |||
346 | a ~ --[[123]]1 | 346 | a ~ --[[123]]1 |
347 | } | 347 | } |
348 | 348 | ||
349 | do | ||
350 | a = 1 | ||
351 | + 2 | ||
352 | * 3 / | ||
353 | 4 | ||
354 | |||
355 | _1 = f1 -1 | ||
356 | + 2 | ||
357 | + 3 | ||
358 | |||
359 | _2 = f1 - 1 | ||
360 | + 2 | ||
361 | + 3 | ||
362 | |||
363 | f2 = (x)-> print x | ||
364 | +1 | ||
365 | |||
366 | a = f2! | ||
367 | -1 |> f2 | ||
368 | |||
369 | a = f2! | ||
370 | - 1 |> f2 | ||
371 | |||
349 | nil | 372 | nil |
350 | 373 | ||