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

Inconsistent broadcasting of .! on Nullable #7

Open
KristofferC opened this issue Jan 7, 2018 · 0 comments
Open

Inconsistent broadcasting of .! on Nullable #7

KristofferC opened this issue Jan 7, 2018 · 0 comments

Comments

@KristofferC
Copy link
Contributor

Moved from JuliaLang/julia#22444


On RC3. This is fine:

> .!(Nullable{Bool}())
Nullable{Bool}()

> Nullable() .& Nullable()
Nullable{Union{}}()

but

> .!(Nullable())
Nullable{Nullable{Union{}}}()   # UPDATE: because of NullableArrays

EDIT: my bad; this turns out to be another instance of type piracy in NullableArrays. However, even on a fresh 0.6 session, it yields

julia> .!(Nullable())
Nullable{Tuple{}}()

which is a bit inconsistent. Perhaps it does not matter though?

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

1 participant