Commit Graph

36 Commits

Author SHA1 Message Date
leaf corcoran
e698e180ac newlines can be used to separte function argument declarations 2016-09-25 17:52:05 -07:00
leaf corcoran
a5abd2fe1e tests for ... in whitepace function def 2016-09-25 17:47:44 -07:00
leaf corcoran
5d074c9e62 allow whitespace around function argument declaration, fixes #227 2016-09-25 17:45:50 -07:00
leaf corcoran
2e7d5153f1 expression can be used inside slide boundaries, fixes #233 2016-09-25 17:34:59 -07:00
leaf corcoran
0a2399ef39 let newlines break arguments in fn call with parens 2016-09-25 15:53:40 -07:00
leaf corcoran
d8830b17f3 allow whitespace around function arguments when in parens, fixes #274 2016-09-25 14:33:55 -07:00
leaf corcoran
e0da63c501 assignable name list in comprehension/decorator for in loop, fixes #236 2016-09-25 14:20:57 -07:00
leaf corcoran
c024c83975 spec indentation 2016-09-25 14:07:41 -07:00
leaf corcoran
c19a7fd2c3 allow assignment in unless block, fixes #251 2016-09-25 14:07:35 -07:00
leaf corcoran
2f1dd92012 fix empty line consumption for else, fixes #276 2016-09-25 12:57:54 -07:00
leaf corcoran
bf437b2cd2 class names aren't refs, fixes #287 2016-09-25 12:08:10 -07:00
leaf corcoran
92b269c0cc fixes #286 2016-09-25 11:59:27 -07:00
Kawahara Satoru
330f5491d6 add bitwise update assignment operators (#277) 2016-09-25 11:36:07 -07:00
nymphium
a841de51ab add spec 2016-03-31 18:38:56 +09:00
leaf corcoran
92932584b4 add more super class specs 2015-12-06 11:31:40 -08:00
leaf corcoran
7aa63b2b61 update specs for new class super 2015-12-06 11:24:42 -08:00
leaf corcoran
1bdcf26b08 super scope test 2015-12-06 11:06:35 -08:00
leaf corcoran
8f647cc743 spec for testing super scope when inside table/function 2015-12-06 02:07:41 -08:00
leaf corcoran
24b3a86c68 correct escape new chain format for lua keywords 2015-10-05 20:53:54 -07:00
leaf corcoran
b9efd31af7 add another super test 2015-09-30 00:57:08 -07:00
leaf corcoran
c24acf490b fix regression from #200 2015-09-29 00:32:46 -07:00
leaf corcoran
ce396acb15 fixes #208 2015-09-26 21:16:02 -07:00
leaf corcoran
36528f1dd0 rebuild, specs for new string precedence 2015-09-26 20:59:33 -07:00
leaf corcoran
87c88feb28 make sure return/break at end don't interfere with continue logic fixes #215 #190 #183 2015-09-26 20:29:39 -07:00
David Davidović
5ae8ffaed7 Add tests for nested with blocks
Added two tests that test the behavior of nested `with` blocks. When a
nested `with` block is started, using a variable referenced from the
enclosing one, expected behavior is to change the short-dot syntax scope
to the newly-referenced variable.
2015-09-26 12:24:51 -07:00
leaf corcoran
adccbadf18 more whitespace sepcs for table 2015-02-28 14:10:45 -08:00
leaf corcoran
5e162e22a5 spacebreak can come after table colon 2015-02-28 14:08:44 -08:00
leaf corcoran
7109da7e1d parens can take spacebreaks on the insides of either side 2015-02-28 13:52:09 -08:00
leaf corcoran
e61c2ba29f spacebreak operator tests in more places 2015-02-28 13:41:38 -08:00
leaf corcoran
8ea934964a allow whitespace/newlines after binary operator 2015-02-28 13:26:29 -08:00
leaf corcoran
df340f7104 avoid creating unnecessary functions when using return keyword with statements and block_exps 2014-02-08 18:42:23 -08:00
leaf corcoran
a926e96813 specs for new number literals #124 2014-01-06 10:38:01 -08:00
leaf corcoran
ec35fc03d2 delete invalid test 2013-12-27 00:30:03 -08:00
leaf corcoran
4978054a8f reuse locals for unpack loops 2013-06-10 19:18:49 -07:00
leaf corcoran
56112e074c with doesn't create its own reference unless necessary 2013-06-10 16:12:26 -07:00
leaf corcoran
abbf46ac37 move test to spec 2013-06-07 23:14:08 -07:00