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

fix is inference taking into account that unions imply nil #699

Merged
merged 1 commit into from
Sep 13, 2023
Merged

Commits on Sep 13, 2023

  1. fix is inference taking into account that unions imply nil

    This behavior will change one day when we make types not imply nil,
    but for now we need to be consistent with the fact that they do.
    
    So silence the warning on the last `elseif V is T` and drop the
    error in the `else` case.
    
    Fixes #695.
    hishamhm committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    5d4ec0a View commit details
    Browse the repository at this point in the history