diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/inputs/funcs.mp | 1 | ||||
-rw-r--r-- | spec/inputs/macro.mp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/spec/inputs/funcs.mp b/spec/inputs/funcs.mp index 4176e33..0e45ff1 100644 --- a/spec/inputs/funcs.mp +++ b/spec/inputs/funcs.mp | |||
@@ -46,6 +46,7 @@ _ = (x = if something then yeah else no) -> | |||
46 | something = (hello=100, world=(x=[[yeah cool]])-> print "eat rice") -> | 46 | something = (hello=100, world=(x=[[yeah cool]])-> print "eat rice") -> |
47 | print hello | 47 | print hello |
48 | 48 | ||
49 | _ = () => | ||
49 | _ = (x, y) => | 50 | _ = (x, y) => |
50 | _ = (@x, @y) => | 51 | _ = (@x, @y) => |
51 | _ = (x=1) => | 52 | _ = (x=1) => |
diff --git a/spec/inputs/macro.mp b/spec/inputs/macro.mp index fafa522..be88a3f 100644 --- a/spec/inputs/macro.mp +++ b/spec/inputs/macro.mp | |||
@@ -110,7 +110,7 @@ do | |||
110 | a += $get_inner_hygienic! | 110 | a += $get_inner_hygienic! |
111 | print a | 111 | print a |
112 | 112 | ||
113 | macro lua lua = (codes)-> "#{codes}" | 113 | macro lua lua = (codes)-> codes |
114 | 114 | ||
115 | x = 0 | 115 | x = 0 |
116 | 116 | ||