Error when parsing statements that contain Cast(MemberRef).MethodInvo
Opened this issue · 0 comments
When I parse the statement:
( ( info.smart_tools.smartactors.iobject.iobject_wrapper.IObjectWrapper )( wObj ) ).init ( env ) ;
it returns the object:
StatementExpression(expression=Cast(expression=MemberReference(member=wObj, postfix_operators=[], prefix_operators=[], qualifier=, selectors=[]), type=ReferenceType(arguments=None, dimensions=[], name=info, sub_type=ReferenceType(arguments=None, dimensions=None, name=smart_tools, sub_type=ReferenceType(arguments=None, dimensions=None, name=smartactors, sub_type=ReferenceType(arguments=None, dimensions=None, name=iobject, sub_type=ReferenceType(arguments=None, dimensions=None, name=iobject_wrapper, sub_type=ReferenceType(arguments=None, dimensions=None, name=IObjectWrapper, sub_type=None))))))), label=None)
and the ".init ( env )" is ignored, which should be a method invocation.