moonscript/tests/inputs/using.moon
leaf corcoran 05b3a8f989 fixed number literals (all lua ones supported)
integer, float and hex
2011-08-12 19:35:22 -07:00

22 lines
245 B
Plaintext

hello = "hello"
world = "world"
(using nil) ->
hello = 3223
(a using nil) ->
hello = 3223
a = 323
(a,b,c using a,b,c) ->
a,b,c = 1,2,3
world = 12321
(a,e,f using a,b,c, hello) ->
a,b,c = 1,2,3
hello = 12321
world = "yeah"