1
0
Fork 0
easejs/test/MemberBuilderValidator
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
..
GetterSetterTest.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
MethodTest.js `override' implies `virtual' 2017-06-30 02:01:40 -04:00
PropertyTest.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
inc-common.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00