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

Support zero et al on ::Type{Missing} #31303

Merged
merged 1 commit into from Mar 10, 2019
Merged

Conversation

iamed2
Copy link
Contributor

@iamed2 iamed2 commented Mar 9, 2019

Previously the three methods in question would give:

julia> zero(Missing)
ERROR: UndefVarError: T not defined
Stacktrace:
 [1] zero(::Type{Missing}) at ./missing.jl:87
 [2] top-level scope at none:0

because T wasn't matched

@ararslan ararslan added the domain:missing data Base.missing and related functionality label Mar 9, 2019
@Keno Keno merged commit d2a54ca into JuliaLang:master Mar 10, 2019
@ararslan ararslan deleted the ed/zero-Missing branch March 10, 2019 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:missing data Base.missing and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants