pyrser/type_system/inference.py
def infer_subexpr(self, expr, diagnostic=None):
        """
        Infer type on the subexpr
        """
        expr.infer_node = InferNode(parent=self.infer_node)
        expr.infer_type(diagnostic=diagnostic)
def infer_subexpr(self, expr, diagnostic=None):
        """
        Infer type on the subexpr
        """
        expr.infer_node = InferNode(parent=self.infer_node)
        expr.infer_type(diagnostic=diagnostic)
Infer type on the subexpr