1
0
Fork 0
easejs/lib
Mike Gerwitz 90fd1a8d08
`override' implies `virtual'
This behavior is consistent with other OO languages like C++ and C# that do
not have virtual methods by default.

This solution isn't ideal, but I don't have time for a larger refactoring
right now.  I sat on this change for a good few weeks before committing it
unchanged.

* lib/MemberBuilderValidator.js (validateMethod): Allow override of
  supertype overrides.

* test/*: Stripped `virtual' keyword where appropriate.

* doc/classes.texi (Inheritance): Update to state that `override' implies
  `virtual'.
2017-06-30 02:01:40 -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 Constructor virtual by default 2017-01-02 23:30:33 -05: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 Fix trait extending of supertype with constructor 2017-01-02 23:34:29 -05: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 Error constructor integration into ClassBuilder 2016-07-15 00:21: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