From f6369ba2c43d5478c58fb517f8d196ef34135444 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 22 Oct 2011 00:13:51 -0400 Subject: [PATCH] [#25] No longer using util.isAbstractMethod() for method validation --- lib/MemberBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MemberBuilder.js b/lib/MemberBuilder.js index ac8dae1..547606b 100644 --- a/lib/MemberBuilder.js +++ b/lib/MemberBuilder.js @@ -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 " +