From f30aae5493ccfc05b13eb7bf83abe13e9003d5bd Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:51:54 +0900 Subject: [PATCH] inference: remove staled `:method` handling (#54110) Within `abstract_eval_statement_expr` --- base/compiler/abstractinterpretation.jl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/base/compiler/abstractinterpretation.jl b/base/compiler/abstractinterpretation.jl index 4ab512038b54e..d76e64c84aaae 100644 --- a/base/compiler/abstractinterpretation.jl +++ b/base/compiler/abstractinterpretation.jl @@ -2679,10 +2679,6 @@ function abstract_eval_statement_expr(interp::AbstractInterpreter, e::Expr, vtyp t = Nothing exct = Union{} effects = Effects(EFFECTS_TOTAL; effect_free=EFFECT_FREE_GLOBALLY) - elseif ehead === :method - t = Method - exct = Union{} - effects = Effects(EFFECTS_TOTAL; effect_free=EFFECT_FREE_GLOBALLY) elseif ehead === :thunk t = Any effects = EFFECTS_UNKNOWN