Jann Horn
11f2cd4515
test for #1416 : don't omit one 'new' when compiling 'new new'
2011-06-20 18:38:07 +02: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
Jeremy Ashkenas
0bad04d374
Issue #1182 -- subclasses with external constructor functions.
2011-04-27 21:56:08 -04:00
Michael Ficarra
cd8492dd7b
test for #1106
2011-04-27 21:36:29 -04:00
Jeremy Ashkenas
19849e66d4
renaming wordy test titles.
2011-04-23 13:35:15 -04:00
Jeremy Ashkenas
e9dac2fddc
Fixes #1280 , regex and compound division mixup.
2011-04-23 13:33:35 -04:00
Jeremy Ashkenas
f3f34e9ef5
Fixes #1188 , scope for self-referencing functions.
2011-04-20 22:16:56 -04:00
Jeremy Ashkenas
2f39102026
merging fix for #1124
2011-04-18 20:44:27 -04:00
Michael Ficarra
3453bfa513
regression tests for #1274
2011-04-09 09:53:04 -04:00
Jann Horn
8b443b94ea
added a test
2011-03-28 23:16:49 +02:00
Michael Ficarra
8f73bc3b4c
Merge branch 'bugfix-1108' of https://github.com/thejh/coffee-script into thejh-bugfix-1108
2011-03-27 23:54:46 -04:00
Michael Ficarra
f03bcc24ad
enhanced tests for #1099 fix
2011-03-27 23:42:49 -04:00
Jann Horn
9d72208d9e
added a test (issue #1099 )
2011-03-27 21:35:29 +02:00
Jann Horn
e84e703211
fixes bug mentioned by @satyr in #1108
...
"[v] = a ? b" must compile to
v = (typeof a != "undefined" && a !== null ? a : b)[0];
and not to:
v = typeof a != "undefined" && a !== null ? a : b[0];
2011-03-27 21:22:09 +02:00