@@ -346,7 +346,6 @@ class exports.Literal extends Atom
346346 compile : (o , level ? o .level) ->
347347 switch val = "#{@value}"
348348 | \this => return o .scope.fun?bound or val
349- | \undefined => val = 'void' ; fallthrough
350349 | \void =>
351350 return '' unless level
352351 val += ' 8'
@@ -753,15 +752,6 @@ class exports.Call extends Node
753752 gotThis or args.unshift Literal \t his
754753 @block Fun(params, body), args, \. call
755754
756- @where = (args, body) ->
757- lines = [a for a in args when a.op is \= and not a.logic]
758- params = for a, i in args
759- if a.op is \= and not a.logic
760- then args[i] = Literal \v oid; a.left
761- else Var a.varName! || a.carp ' invalid "let" argument '
762- args.unshift Literal \t his
763- @block Fun(params, Block lines ++ body.lines), args, \. call
764-
765755#### List
766756# An abstract node for a list of comma-separated items.
767757class List extends Node
@@ -1235,7 +1225,7 @@ class exports.Binary extends Node
12351225
12361226 compileConcat : (o ) ->
12371227 f = (x ) ->
1238- | x instanceof Binary and x .op in <[ +++ ++ ]> =>
1228+ | x instanceof Binary and x .op is \++ =>
12391229 (f x .first) ++ (f x .second)
12401230 | otherwise => [x ]
12411231 Chain @first .add Index (Key \concat ), \., true .add Call(f @second ) .compile o
@@ -2837,7 +2827,7 @@ let @ = PREC = {unary: 0.9}
28372827 @\.&. = @\.^. = @\.|. = 0.3
28382828 @\== = @\!= = @\~= = @\!~= = @\=== = @\!== = 0.4
28392829 @\< = @\> = @\<= = @\>= = @of = @instanceof = 0.5
2840- @\<<= = @\>>= = @\<== = @\>== = @\+++ = @\++ = 0.5
2830+ @\<<= = @\>>= = @\<== = @\>== = @\++ = 0.5
28412831 @\.<<. = @\.>>. = @\.>>>. = 0.6
28422832 @\+ = @\- = 0.7
28432833 @\* = @\/ = @\% = 0.8
0 commit comments