Base.nonmissingtype and Core.Compiler.typesubtract aren't exported

Hi!

I was trying to create new arrays a, b with the not missing elements of A and B, respectively and I want to exclude Missing from the element type of a and b.

Sadly, Base.nonmissingtype and Core.Compiler.typesubtract aren’t exported. Is it possible to export those functions?

As a workaround, I’m using collect(skipmissing(... over a and b just to get nonmissingtype called.

Best regards,

See Export Base.nonmissingtype · Issue #30657 · JuliaLang/julia · GitHub. You can use Missings.T for now too.

2 Likes