Jeremy Ashkenas
1a652a9736
CoffeeScript 1.1.2
2011-08-04 23:17:23 -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
ngn
6f64fc266d
added one more test for #1150
2011-06-22 19:42:07 +03: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
Michael Ficarra
25e7eeac8f
Revert "Merge https://github.com/ngn/coffee-script "
...
This reverts commit 277e82bd03 , reversing
changes made to 0f523de212 .
2011-06-17 11:53:48 -04:00
ngn
0f523de212
Fix for #1150 : String interpolation regression
2011-06-15 20:34:12 +03:00
Michael Ficarra
dfcff3f0fc
adding regression test for #1420 ; also cleaned up a little trailing
...
whitespace in the function invocation tests
2011-06-07 04:10:40 -04:00
Michael Ficarra
e240621a72
test for #1409
2011-06-02 01:49:28 -04:00
Jeremy Ashkenas
1fb34e42a6
Revert "fixed condext during construction of bound functions; now using native"
...
This reverts commit 8d6e33c2cf .
2011-05-28 18:58:48 -04:00
Michael Ficarra
8d6e33c2cf
fixed condext during construction of bound functions; now using native
...
Function::bind when it is available. related: #1363
2011-05-27 18:03:57 -04:00
Michael Ficarra
085874d5f3
hopefully the last enhancement for my #1380 fix
2011-05-25 12:57:45 -04:00
Michael Ficarra
e4f47a05f6
merging @TrevorBurnham's pull request #1314 , enhancing CS.eval; closes #1314
2011-05-25 03:53:51 -04:00
Michael Ficarra
8e5eff5e1e
test for #1380
2011-05-25 03:22:06 -04:00
Michael Ficarra
e64fa71185
fixes #1372 : bound class methods with reserved names
2011-05-24 16:49:45 -04:00
Michael Ficarra
c8845643e5
fixes #1385 : property access on parenthesized number literals
2011-05-24 16:27:07 -04:00
Jeremy Ashkenas
004f13f0fc
Merge pull request #1346 from adam-f/fixedsplatscope
...
Fixed improper scoping of siblings to the splat argument.
2011-05-15 17:13:50 -07:00
Jeremy Ashkenas
2563324ed8
merging #1353
2011-05-15 18:56:11 -04:00
Jeremy Ashkenas
d91ccd4003
Issue #1354 , 'in' with splatted arrays.
2011-05-15 18:50:04 -04:00
Jeremy Ashkenas
9e32a5bfa1
fixing implicit invocations against inline try/catch.
2011-05-15 15:04:29 -04:00
Jeremy Ashkenas
cd5c41f351
Issue #1364 , implicit calls against control structures.
2011-05-15 10:41:41 -04:00
Gerald Lewis
bd8d82809b
Updated tests for #1216 and pull #1348
2011-05-11 09:11:41 -04:00
Michael Ficarra
6c9ef76b95
fixed behavioural change accidentally introduced by #1348 , thanks @satyr
2011-05-11 00:08:24 -04:00
Michael Ficarra
a024ec5b27
reverting tests from @geraldalewis's fix for #1216
2011-05-10 23:23:31 -04:00
Gerald Lewis
2212e959ac
Fix for #1216 ?= compilation
2011-05-10 19:33:30 -04:00
Jeremy Ashkenas
a8a581acae
Never return from a constructor.
2011-05-10 10:03:22 -04:00
Jeremy Ashkenas
6d6e07604e
Fixing external constructors / order of execution for once and for all ... knock on wood.
2011-05-10 09:24:20 -04:00
Adam Freidin
dc499089e9
fixed name of simple destructuring test.
2011-05-08 15:00:27 -07:00
Michael Ficarra
f4b8e19c7f
adding another failing test case related to #1182
2011-05-08 17:16:45 -04:00
Adam Freidin
1809c0e675
fixed 2nd scoping problem
...
x = 10
([x]) -> # used to not declare var x
this is one fix, the other way to fix
it is to remove the entire if ... olen is 1 ....
block... not sure if that's a good idea or not.
2011-05-08 04:59:44 -07:00
Adam Freidin
2dc2d162bc
variadic arguments breaking out of scope (test)
2011-05-07 16:55:27 -07:00
Michael Ficarra
56b2b02637
some cleanup, renaming temporary variable from _by to _step
2011-05-06 23:10:46 -04:00
Michael Ficarra
d031c26229
Merge git://github.com/geraldalewis/coffee-script into geraldalewis_issue1326
2011-05-06 22:53:26 -04:00
Michael Ficarra
4046fcf971
adding failing test case for #1182 execution order bug mentioned by
...
@satyr
2011-05-06 09:48:12 -04:00
Michael Ficarra
8781a148db
issues #1313 and #1182 : better class compilation in presence of
...
externally defined constructors and inheritence via `extends`. Thanks to
@stephank for the suggested approach.
2011-05-06 01:00:35 -04:00
Gerald Lewis
ac46ede170
Fix for #1326 by value is uncached
2011-05-04 13:12:05 -04:00
Jeremy Ashkenas
2fb7ccc8f0
Revert "Fix for #1304 ... but disallows an alternative syntax."
...
This reverts commit 31bfe50831 .
2011-05-01 10:43:50 -04:00
Jeremy Ashkenas
31bfe50831
Fix for #1304 ... but disallows an alternative syntax.
2011-05-01 10:16:04 -04:00
Jeremy Ashkenas
5fd82e829b
fixing test.html
2011-05-01 08:28:00 -04:00
Jeremy Ashkenas
76252659fd
Merge pull request #1300 from michaelficarra/issue1106.
...
fixes issue #1106
2011-04-30 07:29:41 -07:00
Michael Ficarra
7efea4bb23
removed "globals" option of CoffeeScript.compile and enhanced fix from
...
previous commits
2011-04-29 15:53:30 -04:00
Michael Ficarra
5cd5821c18
#1106 test case: making sure __proto__ exists in case v8 ever removes it
2011-04-27 18:57:22 -07:00