Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different type of Table element in 1.9 #105

Closed
KristofferC opened this issue Nov 7, 2022 · 2 comments
Closed

Different type of Table element in 1.9 #105

KristofferC opened this issue Nov 7, 2022 · 2 comments

Comments

@KristofferC
Copy link

Repro:

using TypedTables, SPDX

SpdxSnippetV2_NameTable= Table(
      NameTable= [ SPDX.SpdxSnippetRangeV2_NameTable, SPDX.SpdxAnnotationV2_NameTable, ],
)

typeof(SpdxSnippetV2_NameTable.NameTable[2])

On 1.9 this gives:

julia> typeof(SpdxSnippetV2_NameTable.NameTable[2])
Vector{NamedTuple{(:Symbol, :Default, :Mutable, :Constructor, :NameTable, :Multiline, :JSONname, :TagValueName)}} (alias for Array{NamedTuple{(:Symbol, :Default, :Mutable, :Constructor, :NameTable, :Multiline, :JSONname, :TagValueName)}, 1})

On 1.8 it gives:

julia> typeof(SpdxSnippetV2_NameTable.NameTable[2])
Table{NamedTuple{(:Symbol, :Default, :Mutable, :Constructor, :NameTable, :Multiline, :JSONname, :TagValueName), Tuple{Symbol, Missing, Bool, Any, Nothing, Bool, String, String}}, 1, NamedTuple{(:Symbol, :Default, :Mutable, :Constructor, :NameTable, :Multiline, :JSONname, :TagValueName), Tuple{Vector{Symbol}, Vector{Missing}, Vector{Bool}, Vector{Any}, Vector{Nothing}, Vector{Bool}, Vector{String}, Vector{String}}}}

I haven't looked deeply into this but it is causing some downstream packages to fail their tests on 1.9.

@andyferris
Copy link
Member

Hmm - what does alias for mean?

@KristofferC
Copy link
Author

I think this is fixed by JuliaLang/julia#47893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants