Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Atol committed Apr 4, 2022
1 parent 5660b85 commit abb75d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base/compiler/abstractinterpretation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,6 @@ end

function abstract_eval_value_expr(interp::AbstractInterpreter, e::Expr, sv::Union{InferenceState, IRCode})
if e.head === :static_parameter
@assert isa(sv, InferenceState)
n = e.args[1]::Int
t = Any
if 1 <= n <= length(sv.sptypes)
Expand Down

0 comments on commit abb75d9

Please sign in to comment.