[#25] No longer using util.isAbstractMethod() for method validation
parent
4d2d95a99f
commit
f6369ba2c4
|
@ -224,7 +224,7 @@ exports._validateMethod = function(
|
|||
}
|
||||
|
||||
// do not allow overriding concrete methods with abstract
|
||||
if ( keywords[ 'abstract' ] && !( util.isAbstractMethod( prev ) ) )
|
||||
if ( keywords[ 'abstract' ] && !( prev_keywords[ 'abstract' ] ) )
|
||||
{
|
||||
throw TypeError(
|
||||
"Cannot override concrete method '" + name + "' with " +
|
||||
|
|
Loading…
Reference in New Issue