jashkenas--coffeescript/test
Chris Connelly 3e70d31e5d Remove support for bound instance methods (#4530)
Bound methods are implemented as assignments to `this` in the
constructor. In derived classes, where `this` is unavailable until
after `super` has been called, the binding is applied and assigned after
the `super` call. This means that any references to 'bound' methods
reachable from the parent constructor will actually point to the unbound
prototype methods.

This can lead to very subtle bugs where a method that is thought to be
bound is handed off and later called with an incorrect context, and the
only defence is for users to be vigilant about referencing bound methods
in constructors.
2017-04-27 23:03:01 -07:00
..
importing renaming import test files to avoid risking the disfavor of .gitignore 2013-06-02 10:57:18 +04:00
support Abstract the `eq` and `arrayEq` functions, shared by Cakefile and test.html, into one file that can be included into both 2016-11-29 21:19:11 -08:00
arrays.coffee Merge branch 'master' into 2 2016-11-10 22:51:39 -08:00
assignment.coffee Remove support for bound instance methods (#4530) 2017-04-27 23:03:01 -07:00
async.coffee Update async test to use new `super` syntax 2017-02-04 17:05:18 -08:00
booleans.coffee renaming wordy test titles. 2011-04-23 13:35:15 -04:00
classes.coffee Remove support for bound instance methods (#4530) 2017-04-27 23:03:01 -07:00
cluster.coffee Fixes #2737, fix fork() for both .js and .coffee, revised. 2013-03-18 11:46:54 +08:00
comments.coffee [CS2] Compile class constructors to ES2015 classes (#4354) 2017-01-12 21:55:30 -08:00
compilation.coffee Merge branch 'master' into 2 2016-11-10 22:51:39 -08:00
comprehensions.coffee Allow `@` values as indices in `for` expressions 2016-12-29 19:00:00 +00:00
control_flow.coffee Fix parenthesized conditions in if-else assignment (#4519) 2017-04-19 00:10:20 -07:00
error_messages.coffee merge master 2017-04-20 14:41:28 -05:00
eval.coffee Fix issue #3498 2015-01-05 15:40:04 -05:00
exception_handling.coffee #2900 -- parameter-less catch clause. 2013-04-12 17:50:45 +02:00
formatting.coffee Fix #4487: Outdentation bug (#4488) 2017-04-08 13:12:55 -07:00
function_invocation.coffee [CS2] Fix non-bare `get` `set` when called with `@` argument (#4525) 2017-04-23 11:23:36 -07:00
functions.coffee [CS2] Destructuring (#4478) 2017-04-06 10:06:45 -07:00
generators.coffee [CS2] Compile all super calls to ES2015 super (#4424) 2017-02-04 12:03:17 -08:00
helpers.coffee Replace `last array` helper with `[..., last] = array` 2015-02-07 21:50:41 +01:00
importing.coffee renaming import test files to avoid risking the disfavor of .gitignore 2013-06-02 10:57:18 +04:00
interpolation.coffee Fix #3795: Never generate invalid strings and regexes 2015-02-05 17:23:03 +01:00
javascript_literals.coffee Triple backticks to allow creation of JavaScript blocks (#4357) 2016-11-19 11:13:30 -08:00
literate.litcoffee [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
literate_tabbed.litcoffee [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
location.coffee Merge pull request #4444 from alangpierce/upstream-fix-heregex-end-location 2017-02-17 18:21:08 +01:00
modules.coffee [CS2] Remove unnecessary utility helper functions (#4526) 2017-04-25 07:10:42 -07:00
numbers.coffee Treat Infinity and NaN as reserved words 2016-03-06 11:41:48 +01:00
objects.coffee Fix shorthands after interpolated key in objects 2016-09-29 19:02:00 +02:00
operators.coffee [CS2] Compile class constructors to ES2015 classes (#4354) 2017-01-12 21:55:30 -08:00
option_parser.coffee Remove hyphen in `coffee-script` 2017-02-12 17:00:05 -08:00
parser.coffee Properly update location data when setting a call to use `new` 2017-02-16 20:43:19 -08:00
ranges.coffee Add a `for .. from ..` loop for generators, see #4306, #3832 (#4355) 2016-11-07 23:40:01 -08:00
regexps.coffee Keep unicode code point escapes as is when possible (#4520) 2017-04-25 19:15:08 +02:00
repl.coffee Merge branch 'master' into 2 2017-04-17 19:52:34 -07:00
scope.coffee Remove support for bound instance methods (#4530) 2017-04-27 23:03:01 -07:00
slicing_and_splicing.coffee Fix #2953. Method calls on splice endpoints 2013-04-23 05:42:37 +02:00
soaks.coffee added descriptions to tests which only had Issue numbers 2015-02-23 16:39:05 -07:00
sourcemap.coffee Fix failing source map tests 2016-06-02 09:04:58 +02:00
strict.coffee merge master 2017-04-20 14:41:28 -05:00
strings.coffee Keep unicode code point escapes as is when possible (#4520) 2017-04-25 19:15:08 +02:00
tagged_template_literals.coffee Improve tests and comments 2016-12-03 10:16:41 -08:00