def syn_BinOp(self, ctx, e): op = e.op if isinstance(op, ast.Add): ctx.ana(e.right, self) return self else: raise _errors.TyError("Invalid binary operator on strings.", e)