1
0
Fork 0
easejs/test/Trait
Mike Gerwitz 04e98e682e
Correct trait->class calling context on class supertype
See test cases for more information.  This was a pretty unfortunate and
nasty bug that I discovered while working on a project that uses easejs; it
wasn't something that was found previously because this support was only
added relatively recently, and this problem does not exist if an interface
is used.

* lib/Trait.js (bindSuperCtx): Add function.
  (tctor): Use it.

* test/Trait/ScopeTest.js: Add calling context tests.
2016-12-29 02:39:16 -05:00
..
AbstractTest.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
ClassExtendTest.js Prevent mixin failure on null/undefined supertype properties 2015-10-26 22:17:28 -04:00
ClassVirtualTest.js Moved class virtual param test into ClassVirtualTest case 2014-05-02 20:13:41 -04:00
DefinitionTest.js Provide useful error on attempt to mix in non-trait 2015-10-25 22:15:34 -04:00
ImmediateTest.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
LinearizationTest.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
MixedExtendTest.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
NamedTest.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
ParameterTest.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
PropertyTest.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
ScopeTest.js Correct trait->class calling context on class supertype 2016-12-29 02:39:16 -05:00
VirtualTest.js Corrected virtual non-overridden trait method invocations 2014-05-02 21:08:41 -04:00