Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
Add Support for Calls to External Class Instances (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdrosos committed May 30, 2023
1 parent 373751b commit bc4d41e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pycg/processing/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ def decode_node(self, node):
return_ns = utils.join_ns(
called_def.get_ns(), utils.constants.RETURN_NAME
)
elif called_def.get_type() == utils.constants.CLS_DEF:
elif (
called_def.get_type() == utils.constants.CLS_DEF
or called_def.get_type() == utils.constants.EXT_DEF
):
return_ns = called_def.get_ns()
defi = self.def_manager.get(return_ns)
if defi:
Expand Down

0 comments on commit bc4d41e

Please sign in to comment.