File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ function alltypesigs(sig)::Vector{Any}
111111 elseif isa (sig, Union)
112112 uniontypes (sig)
113113 elseif isa (sig, UnionAll)
114- Base. rewrap_unionall .(uniontypes (Base. unwrap_unionall (sig)), sig)
114+ Any[Base. rewrap_unionall (usig, sig) for
115+ usig in uniontypes (Base. unwrap_unionall (sig))]
115116 else
116117 Any[sig]
117118 end
Original file line number Diff line number Diff line change 645645 @test DSE. alltypesigs (Union{}) == Any[]
646646 @test DSE. alltypesigs (Union{Tuple{}}) == Any[Tuple{}]
647647 @test DSE. alltypesigs (Tuple{}) == Any[Tuple{}]
648-
649- # TODO : Clean me up
650- T = Type{T} where {T}
651- @test DSE. alltypesigs (T) ==
652- Base. rewrap_unionall .(DSE. uniontypes (Base. unwrap_unionall (T)), T)
648+ @test DSE. alltypesigs (Tuple{G} where G) == Any[Tuple{G} where G]
653649 end
654650 @testset " groupby" begin
655651 let groups = DSE. groupby (Int, Vector{Int}, collect (1 : 10 )) do each
You can’t perform that action at this time.
0 commit comments