Open
Description
opened on Jun 29, 2023
See also JuliaDocs/Documenter.jl#2160
julia> const m = Module()
Main.anonymous
julia> @eval m begin
abstract type Foo end
struct Bar <: Foo end
end
julia> supertype(m.Bar) === m.Foo
true
julia> subtypes(m.Foo)
Any[]
subtypes
should obviously contain m.Bar
as well. Whether the module is anonymous or not doesn't matter.
Activity