methods.extend([methformethinself.primary.myType.typePointer.inheritsifisinstance(meth,MemberNodes.MethodNode)])# need to check inherited methods as well
m=getMethod(methods,self.ID.name,self.args)
ifm:
# check static
...
...
@@ -514,7 +516,7 @@ class MethodInvNode(ASTNode):
return
else:
raiseException("ERROR: Class {} doesn't have a method {} with given argument types.".format(self.typeName,self.ID.methodName))
raiseException("ERROR: Class {} doesn't have a method {} with given argument types.".format(self.typeName,self.ID.name))