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}
111
111
elseif isa (sig, Union)
112
112
uniontypes (sig)
113
113
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))]
115
116
else
116
117
Any[sig]
117
118
end
Original file line number Diff line number Diff line change 645
645
@test DSE. alltypesigs (Union{}) == Any[]
646
646
@test DSE. alltypesigs (Union{Tuple{}}) == Any[Tuple{}]
647
647
@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]
653
649
end
654
650
@testset " groupby" begin
655
651
let groups = DSE. groupby (Int, Vector{Int}, collect (1 : 10 )) do each
You can’t perform that action at this time.
0 commit comments