File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ This will then be available to access by overloading `ArrowTypes.JuliaType(::Val
119
119
function arrowmetadata end
120
120
const EMPTY_STRING = " "
121
121
arrowmetadata (T) = EMPTY_STRING
122
- arrowmetadata (:: Type{Union{T,Missing}} ) where {T} = arrowmetadata{T}
123
- arrowmetadata (:: Type{Union{T,Nothing}} ) where {T} = arrowmetadata{T}
122
+ arrowmetadata (:: Type{Union{T,Missing}} ) where {T} = arrowmetadata (T)
123
+ arrowmetadata (:: Type{Union{T,Nothing}} ) where {T} = arrowmetadata (T)
124
124
arrowmetadata (:: Type{Nothing} ) = EMPTY_STRING
125
125
arrowmetadata (:: Type{Missing} ) = EMPTY_STRING
126
126
arrowmetadata (:: Type{Any} ) = EMPTY_STRING
Original file line number Diff line number Diff line change 38
38
@test ! ArrowTypes. hasarrowname (Int)
39
39
40
40
@test ArrowTypes. arrowmetadata (Int) == " "
41
+ @test ArrowTypes. arrowmetadata (Union{Nothing,Int}) == " "
42
+ @test ArrowTypes. arrowmetadata (Union{Missing,Int}) == " "
41
43
42
44
@test ArrowTypes. JuliaType (1 ) === nothing
43
45
@test ArrowTypes. JuliaType (1 , Int) === nothing
You can’t perform that action at this time.
0 commit comments