satyr
9595b30d6f
fix tabbed literate code
2013-01-10 06:24:12 +09:00
Jeremy Ashkenas
82aeb70380
Fixes #2630 -- Class bodies shouldn't be able to reference arguments.
2013-01-06 19:08:32 -10:00
Jeremy Ashkenas
cc6f0451e7
Fixes #2621 -- buggy function parameter name detection with complex destructuring in param list.
2013-01-05 18:32:57 -10:00
Jeremy Ashkenas
f8c751b3a4
adding one more compound operator test for #2627
2013-01-05 18:14:05 -10:00
Jeremy Ashkenas
547a271cee
Merge pull request #2627 from int3/master
...
Parse compound assignment operator followed by a terminator. Closes #2532 .
2013-01-05 20:10:32 -08:00
Jeremy Ashkenas
48d625816c
Merge branch 'master' into literate
2013-01-04 09:07:09 -10:00
Jason Walton
cee4f4ab6e
Location test.
2012-12-24 08:34:16 -05:00
Jez Ng
847ab4d18e
Parse compound assignment followed by a terminator.
...
Closes #2532 .
2012-11-27 20:11:01 -05:00
lihan
3284f6af18
tests for the repl: ignoring comments, output in inspect mode, variable saving
2012-10-31 00:09:59 -04:00
Demian Ferreiro
52b0f76eb2
Prevent constructors from returning values
2012-10-28 08:55:48 -03:00
Demian Ferreiro
e46b129c4f
Remove return statement on auto-generated constructors
2012-10-28 08:55:02 -03:00
Jeremy Ashkenas
35787ef79b
Fixes #2567 -- optimize generated code with an existential is directly negated.
2012-10-23 18:17:53 -04:00
Jeremy Ashkenas
0ba628159f
Fixes #2580 -- Try/Catch is allowed to destructure the error object.
2012-10-23 17:57:22 -04:00
Jeremy Ashkenas
b4e13b294d
pretty decent initial test.
2012-09-25 19:37:54 -05:00
Jeremy Ashkenas
4fb3a312b0
fixing block comment indentation
2012-09-25 19:35:02 -05:00
Paul Young
c29597b3bc
Fixes #2441 : Remove (deprecated) registerExtension support.
2012-08-08 20:01:07 -04:00
Michael Ficarra
7c29ea4d38
removing code that restricts duplicate key names and associated tests
2012-05-21 13:49:00 -04:00
Michael Ficarra
6c6c8bd454
typo in test case for #2333
2012-05-21 13:28:18 -04:00
Michael Ficarra
81f780f1fb
finally put #2333 to rest by resorting to using indirect eval
...
related: #1772 , #1776 ; we're relying on the underlying engine having the
string escaping behaviour we want instead of implementing it manually.
2012-05-21 13:26:29 -04:00
Michael Ficarra
972a5299d5
correct spacing around operators in slice output
2012-05-20 16:32:10 -04:00
Michael Ficarra
b8149812cd
fixes #2349 : inclusive slicing to numeric strings
2012-05-20 16:22:25 -04:00
Michael Ficarra
df54c63b1b
yet another small cleanup and obscure bugfix related to #2333
2012-05-16 15:29:00 -04:00
Michael Ficarra
1810d9f318
object key dupe checking again: support newlines and \a in strings
2012-05-16 12:53:28 -04:00
Michael Ficarra
29b9c3bb29
correcting broken fix for #2333 regarding string escape sequences
...
Sorry for all the commits! It should really be done this time.
2012-05-16 10:36:00 -04:00
Michael Ficarra
f31ff7774a
fix escaping in test for #2333
2012-05-16 08:19:06 -04:00
Michael Ficarra
fa82859814
another refactoring for #2333
2012-05-16 07:02:16 -04:00
Michael Ficarra
dc9565f54a
fix to #2333 greatly improved, but still depends on eval :(
2012-05-16 02:03:02 -04:00
Michael Ficarra
c264bf04cc
fixes #2333 : fix prohibition of duplicate object properties
2012-05-16 01:07:10 -04:00
Jeremy Ashkenas
e3454ed7fb
Fixes #2331 -- bound 'super' regression
2012-05-15 12:30:51 -04:00
Michael Ficarra
ed705403ad
Merge pull request #2299 from geraldalewis/2213-no-method-is-array
...
Wraps up #2211 -- addresses invocations within destructured params
2012-05-12 17:30:48 -07:00
Colin Ross
fa899ab810
Fix typo in test name
2012-05-12 06:34:12 +01:00
Gerald Lewis
f1b286469a
Wraps up #2211 -- addresses invocations within destructured params
2012-05-02 18:03:32 -04:00
Jeremy Ashkenas
879fe3976d
Fixes #2197 -- uncached double existential
2012-04-25 15:04:15 -04:00
Jeremy Ashkenas
6bcc798a76
Fixes #2207 -- unambiguous immediate implicit closes don't close implicit objects
2012-04-25 14:14:00 -04:00
Maxwell Krohn
3e95d7f2d0
Reapply the removed patch from bugfix_1183 in PR 2252. Include a test
...
case to show it's required.
What's going on: inside of Coffee-generated closures, calling `super()`
is implicitly making use of `this` (or explicitly doing so if you look
at the output code), so we have to pass `this` through closures as if
`@` is being accessed within the closure. So, just add one more
condition to the list in `Closure::literalThis`
2012-04-24 21:48:18 -04:00
Jeremy Ashkenas
34be878257
Fixes #1183 , Refactors #2252 , super calls in inner functions
2012-04-24 17:23:37 -04:00
Jeremy Ashkenas
87257ea6b3
Fixes #2258 -- allow parameter lists in the vertical style.
2012-04-24 16:56:39 -04:00
Jeremy Ashkenas
e433098eb2
Adding a test for #2273
2012-04-24 15:39:22 -04:00
Jeremy Ashkenas
afdcdcfd54
Fixes #2273 , reverts #643 -- no special variable treatment for loop variables.
2012-04-24 15:37:26 -04:00
Jeremy Ashkenas
4fc9a345bb
Fixes #2274 -- allow @variables as loop variables
2012-04-24 12:21:47 -04:00
Gerald Lewis
99394e1011
Fixes issue where destructured assignment params were incorrectly identified as duplicates.
2012-04-23 20:41:56 -04:00
Jeremy Ashkenas
0fada5109a
Merge pull request #2213 from geraldalewis/2211-destructed-splats
...
Issue #2211 -- splats in destructured parameters
2012-04-23 09:00:22 -07:00
Michael Ficarra
46ff7705ee
corrections for octal escape sequences; allows "\0" alone; see #1547
...
Relevant sections of the spec:
* http://es5.github.com/#C
* http://es5.github.com/#B.1.2
* http://es5.github.com/#x7.8.4
2012-04-20 18:29:40 -04:00
Michael Ficarra
53a82da3f3
fixes #2255 : global leak with splatted @-params
2012-04-12 23:46:28 -04:00
Michael Ficarra
4043124135
tests for fix to #2052 , f3a1f46679
2012-04-11 18:35:51 -04:00
Maxwell Krohn
7b66e22bc6
now it works for all of #1183 . This should do it.
2012-04-11 18:22:52 -04:00
Maxwell Krohn
5542e00b80
sart work on a bugfix, but we're not covering the exact case in issue #1183
2012-04-11 18:05:33 -04:00
Jeremy Ashkenas
f0e17fc20f
fixing compound assignments to global variables. oof.
2012-04-10 17:07:38 -04:00
Michael Ficarra
6a88ce7d1e
fixes #2224 : various issues related to number lexing
...
This was... embarrassing. I'm just really glad we didn't cut a release
before this got fixed.
2012-03-27 21:31:20 -04:00
Gerald Lewis
c5737764b5
Issue #2211 -- splats in destructured parameters
2012-03-23 13:20:15 -04:00