-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
# 1.11
julia> :UUID in propertynames(Base)
true
# 1.10
julia> :UUID in propertynames(Base)
false
Causes this test to fail:
StructTypes.jl/test/runtests.jl
Lines 263 to 281 in 47c4691
@testset "Built in Julia types" begin | |
# tuples containing (module, property) | |
core_properties = map(x -> (Core,x), propertynames(Core)) | |
base_properties = map(x -> (Base,x), propertynames(Base)) | |
for (m, n) in [core_properties; base_properties] | |
prop = getproperty(m,n) | |
if typeof(prop) == DataType | |
struct_type = StructTypes.StructType(prop) | |
cond = prop <: builtin_type_mapping[StructTypes.StructType(prop)] | |
if !cond | |
@warn "Built in type $m.$n is incorrectly parsed as $(StructTypes.StructType(prop))" | |
end | |
@test cond | |
end | |
end | |
end |
Metadata
Metadata
Assignees
Labels
No labels