Skip to content

Commit

Permalink
Update src/lowered.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Shuhei Kadowaki <[email protected]>
  • Loading branch information
Keno and aviatesk authored Oct 3, 2024
1 parent 2b4f427 commit 7c0df6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lowered.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function is_some_include(@nospecialize(f))
f = f.value
end
if isa(f, Function)
if isdefined(Base, :IncludeInto) && isa(f, Base.IncludeInto)
if @static isdefined(Base, :IncludeInto) && isa(f, Base.IncludeInto)
return true

Check warning on line 37 in src/lowered.jl

View check run for this annotation

Codecov / codecov/patch

src/lowered.jl#L37

Added line #L37 was not covered by tests
end
mod = Base.typename(typeof(f)).module
Expand Down

0 comments on commit 7c0df6e

Please sign in to comment.