1
0
Fork 0

[#25] No longer using util.isAbstractMethod() for method validation

closure/master
Mike Gerwitz 2011-10-22 00:13:51 -04:00
parent 4d2d95a99f
commit f6369ba2c4
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ exports._validateMethod = function(
} }
// do not allow overriding concrete methods with abstract // do not allow overriding concrete methods with abstract
if ( keywords[ 'abstract' ] && !( util.isAbstractMethod( prev ) ) ) if ( keywords[ 'abstract' ] && !( prev_keywords[ 'abstract' ] ) )
{ {
throw TypeError( throw TypeError(
"Cannot override concrete method '" + name + "' with " + "Cannot override concrete method '" + name + "' with " +