Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
  • Loading branch information
aviatesk and vtjnash authored Feb 22, 2022
1 parent df07fea commit 56eefec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/compiler/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ function iterate(result::MethodLookupResult, args...)
return (match::MethodMatch, state)
end
getindex(result::MethodLookupResult, idx::Int) = getindex(result.matches, idx)::MethodMatch
const MethodLookupCache = IdDict{Any, Union{Missing, MethodLookupResult}}

"""
InferenceResult
Expand Down Expand Up @@ -281,7 +280,7 @@ struct NativeInterpreter <: AbstractInterpreter
@assert world <= get_world_counter()

return new(
# Initially empty caches
# Initially empty cache
Vector{InferenceResult}(),

# world age counter
Expand Down

0 comments on commit 56eefec

Please sign in to comment.