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

Improve inference for unique with abstract eltypes #36280

Merged
merged 1 commit into from
Jun 16, 2020
Merged

Commits on Jun 15, 2020

  1. Improve inference for unique with abstract eltypes

    #20317 improved inference of unique, but problematic cases still arise
    for containers with known but abstract eltypes. Here, we short-circuit
    the `typejoin` when the return type is determined by the element type
    of the input container.
    
    For `unique(f, itr)`, this commit also allows the caller to supply
    `seen::Set` to circumvent the inference challenges.
    timholy committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    cabbb50 View commit details
    Browse the repository at this point in the history