Jeremy Ashkenas
4419f7ca0f
Issue #1703 , - --x
2011-09-17 22:21:47 -04:00
satyr
d03d288a98
fixed #1299 : overhauled token pairings
2011-09-17 08:26:04 +09:00
Michael Ficarra
46b7a2d17c
Merge branch '1643_splatted_access' of https://github.com/geraldalewis/coffee-script
2011-09-09 22:07:58 -04:00
Gerald Lewis
34f99c4a79
#1643 : Bugfix in heredoc in test for 1643
2011-09-09 21:30:00 -04:00
Jeremy Ashkenas
a0d4242da4
Merge pull request #1666 from geraldalewis/1643_splatted_access
...
#1643 splatted access
2011-09-09 16:17:24 -07:00
Gerald Lewis
7d4e693d20
#1643 : Updated tests
2011-09-09 18:59:35 -04:00
satyr
ad1bc1e0b8
closes #1669 ; loop results are now collected in the same way as auto-returns are generated
2011-09-07 12:13:23 +09:00
satyr
2ea51b02cc
fixed #1102 ; lexer: cleaned up unfinished
2011-09-07 02:56:14 +09:00
Trevor Burnham
1cc85aad64
Adding tests for CoffeeScript.eval
2011-09-04 13:57:09 -04:00
Gerald Lewis
49e3a91d67
tests for #1195 : lex out semicolons before newlines and at end of program
2011-09-04 12:18:38 -04:00
Gerald Lewis
8ebda7ac02
tests for #1643 : splatted accesses in destructuring assignments no longer create obj.key var declarations
2011-09-01 14:47:30 -04:00
Gerald Lewis
3a6c8c92b3
tests for #1591 : splatted expressions in destructuring assignment must be assignable
2011-08-30 11:12:39 -04:00
Michael Ficarra
2ff6c4c3fc
fixes #1630 : in should check indices of the right operand when it can
...
pass a `hasOwnProperty` check for them
2011-08-26 15:44:00 -04:00
Gerald Lewis
f3253f4f5c
tests for #1513
2011-08-15 11:06:53 -04:00
Jeremy Ashkenas
8c31f2ee44
Adding a test for #1595
2011-08-14 17:08:12 -04:00
Aseem Kishore
0b3029dd3f
Add test for static super calls.
...
Tests jashkenas/coffee-script#1598 . Fails currently as expected.
2011-08-12 15:10:19 -07:00
Jeremy Ashkenas
42f2bd926b
Merge pull request #1590 from geraldalewis/proto_access
...
#1234 Protoype Access in :: Operator
2011-08-12 11:21:46 -07:00
Gerald Lewis
197d07cc85
revised tests for #1234 thanks to @michaelficarra
2011-08-12 14:11:44 -04:00
Michael Ficarra
fa2fbf0c60
minor enhancements to tests for #1005
2011-08-11 02:17:48 -04:00
Michael Ficarra
c3fe29455b
finishing up fix for #1009 : class @do; it's a little bit ugly, but it
...
makes sense to do it this way
2011-08-11 01:52:10 -04:00
Michael Ficarra
df5aca9348
fixes #1005 : invalid identifiers allowed on LHS of destructuring
...
assignment
2011-08-11 01:11:33 -04:00
Gerald Lewis
ab0b36a53f
test for #1234
2011-08-10 22:01:47 -04:00
Michael Ficarra
818216374c
Merge branch 'restructuring' of github.com:jashkenas/coffee-script
2011-08-08 13:21:58 -04:00
Michael Ficarra
7cf5988099
allowing classes to extend expressions; fixes #1482
2011-08-07 05:02:01 -04:00
Michael Ficarra
6608a7aa98
fixes #1100 : precedence in or-test compilation of in
2011-08-07 03:43:41 -04:00
Michael Ficarra
be4685589a
fixes #1009 : classes with reserved words as determined names
2011-08-07 01:48:27 -04:00
Michael Ficarra
c222da9dd6
Merge branch 'restructure' of https://github.com/gfxmonk/coffee-script into restructuring
...
Conflicts:
Cakefile
2011-08-05 17:47:54 -04:00
Jeremy Ashkenas
4e71aad124
Merge pull request #1573 from geraldalewis/1464_bound_static_methods
...
1464 bound static methods
2011-08-04 21:00:46 -07:00
Jeremy Ashkenas
1a652a9736
CoffeeScript 1.1.2
2011-08-04 23:17:23 -04:00
Gerald Lewis
0e0d625adb
test for #1464 ... bound class methods now keep context
2011-08-04 13:54:26 -04:00
Michael Ficarra
9f89a83c27
formatting and rewording a test
2011-08-01 17:28:52 -04:00
satyr
9b9612e09c
fixed #1322 ; block comments no longer get out of implicitly called implicit objects
2011-07-27 18:49:48 +09:00
Michael Ficarra
8931e31991
improving test for #1492
2011-07-17 16:43:50 -04:00
Breckin Loggins
8a4a28bd33
Fixing issue #1492 : Consecutive semicolons in compiled output in some situations
2011-07-16 09:34:46 -05:00
Michael Ficarra
f433fa4187
improved test for #1436
2011-07-06 22:15:35 -04:00
Michael Ficarra
594ead00e8
improved tests for #1416 , fixed accidental scope leak in test for #1420
2011-07-06 22:15:35 -04:00
Timothy Jones
4fc52cd08e
Fixes #1467 . Catch now introduces its parameter to scope.
2011-07-06 22:15:35 -04:00
Jann Horn
9d3510a1e4
added another test for #1416
2011-07-06 22:15:35 -04:00
Jann Horn
4c70ea5e09
test for #1416 : don't omit one 'new' when compiling 'new new'
2011-07-06 22:15:35 -04:00
Jann Horn
caa3d1ab5d
added a test for #1436 , for etc. should work as normal property names
2011-07-06 22:15:34 -04:00
gfxmonk
ab17f41652
Moved src/*.coffee under src/coffee-script/ so that lib can be added to $NODE_PATH and only expose the top-level coffee-script namespace. Fixes #1246
2011-07-05 21:58:04 +10:00
Michael Ficarra
0cc5379caa
improved test for #1436
2011-06-30 12:15:00 -04:00
Michael Ficarra
f6fcfa831c
Merge branch 'bugfix-1436' of git://github.com/thejh/coffee-script into thejh_1448
2011-06-30 11:53:24 -04:00
Michael Ficarra
7b5f012f79
improved tests for #1416 , fixed accidental scope leak in test for #1420
2011-06-30 11:35:29 -04:00
Timothy Jones
0f18dff464
Fixes #1467 . Catch now introduces its parameter to scope.
2011-06-29 18:54:23 -04:00
ngn
6f64fc266d
added one more test for #1150
2011-06-22 19:42:07 +03:00
Jann Horn
8b2884e40f
added another test for #1416
2011-06-21 16:42:20 +02:00
Jann Horn
11f2cd4515
test for #1416 : don't omit one 'new' when compiling 'new new'
2011-06-20 18:38:07 +02:00
ngn
5ce7984a2b
Another attempt to fix #1150
...
Here's how the algorithm in balancedString() was modified. When we
encounter a slash in an interpolation, we:
* try to find a heregex right after it; if found---skip it. Three
slashes always terminate a heregex, no matter if there is an open
"#{" before them or not, so we don't have to bother about
sub-interpolations inside the heregex.
* try to find a regex right after it; if found---skip it. Simple
regexen can't contain interpolations.
* otherwise, assume that the slash means division and carry on.
2011-06-19 20:05:38 +03:00
Jann Horn
9941c3f045
added a test for #1436 , for etc. should work as normal property names
2011-06-19 10:49:19 +02:00