Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JuliaLang/julia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e7d74fe
Choose a base ref
...
head repository: JuliaLang/julia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c4dd759
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Sep 10, 2021

  1. improve the inferrability of isequal(::Any, ::Any)

    Currently, the return type of `isequal(::Any, ::Any)` is inferred as
    `Union{Bool,Missing}` because it takes the possibilities of e.g.
    `==(::Any, ::Missing)` into account.
    But actually `isequal` already handles every `missing` case by dispatch:
    <https://github.com/JuliaLang/julia/blob/2f00c5f6e2211ed1588976dbbe7b022148716d95/base/missing.jl#L80-L82>
    , and thus we can improve the inferrability by type annotation.
    aviatesk committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    c4dd759 View commit details
    Browse the repository at this point in the history
Loading