1
0
Fork 0
easejs/lib
Mike Gerwitz 1d9c06a169
Properly handle error subtype #constructor (#__constructor alias)
Using `#constructor' in place of `#__construct' caused an error attempting
to "redefine" `#__constructor' (once the alias was applied); the system was
making improper assumptions and not accounting for aliases.

In fact, everthing about how this was being done was bad, since adding any
keywords would have thrown it off as well!

* lib/ClassBuilder.js (build): Move ector detection past prop
  parsing.  Check parsed properties instead of raw.
* test/ClassBuilder/ErrorExtendTest.js: Iterate ctor override test on new
    `ctors'.
  (caseSetUp) [ctors]: Add property.
2017-11-04 14:51:29 -04:00
..
ctor Error constructor `after' support 2016-07-15 00:18:42 -04:00
util [copyright] Copyright update 2015-05-28 01:01:51 -04:00
warn [copyright] Copyright update 2015-05-28 01:01:51 -04:00
ClassBuilder.js Properly handle error subtype #constructor (#__constructor alias) 2017-11-04 14:51:29 -04:00
FallbackMemberBuilder.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
FallbackVisibilityObjectFactory.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
MemberBuilder.js Extracted warning handlers into their own prototypes 2014-06-11 23:42:20 -04:00
MemberBuilderValidator.js `override' implies `virtual' 2017-06-30 02:01:40 -04:00
MethodWrapperFactory.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
MethodWrappers.js method.super references now ES3-compatible 2014-08-07 22:24:25 -04:00
Trait.js Correct Trait#__inst in ES3 environments 2017-11-04 00:34:00 -04:00
VisibilityObjectFactory.js No longer using __dirname in requires 2014-04-20 21:11:38 -04:00
VisibilityObjectFactoryFactory.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
class.js Fail intelligently if provided class in place of definition object 2017-11-04 01:07:06 -04:00
class_abstract.js No longer using __dirname in requires 2014-04-20 21:11:38 -04:00
class_final.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
interface.js [copyright] Copyright update for recent changes 2015 2015-10-26 22:49:28 -04:00
prop_parser.js [copyright] Copyright update for recent changes 2015 2015-10-26 22:49:28 -04:00
util.js Added Global prototype 2014-06-11 23:08:48 -04:00
version.js.in [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
warn.js Extracted warning handlers into their own prototypes 2014-06-11 23:42:20 -04:00