From e11b4711a7454855a0af5a4703eb84f3743a3dea Mon Sep 17 00:00:00 2001 From: Nihal Date: Thu, 31 Aug 2017 08:01:02 +0530 Subject: [PATCH] Remove abstarct on Directed methods to allow dispatch pass through --- Source/Modules/php.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index 5165d3419..11d0a1757 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -1335,7 +1335,7 @@ public: if (wrapperType == staticmemberfn || Cmp(Getattr(n, "storage"),"static") == 0) { Append(modes, " | ZEND_ACC_STATIC"); } - if (GetFlag(n, "abstract") && Swig_directorclass(Swig_methodclass(n))) + if (GetFlag(n, "abstract") && Swig_directorclass(Swig_methodclass(n)) && !is_member_director(n)) Append(modes, " | ZEND_ACC_ABSTRACT"); if (Getattr(n, "sym:overloaded")) {