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

inference: permit recursive type traits #50694

Merged
merged 1 commit into from
Aug 2, 2023
Merged

inference: permit recursive type traits #50694

merged 1 commit into from
Aug 2, 2023

Commits on Jul 31, 2023

  1. inference: permit recursive type traits

    We had a special case for Type that disallowed type trait recursion in
    favor of a pattern that almost never appears in code (only once in the
    compiler by accident where it doesn't matter). This was unnecessarily
    confusing and unexpected to predict what can infer, and made traits
    harder than necessary (such as Broadcast.ndims since 70fc3cd).
    
    Fix #43296
    Fix #43368
    vtjnash committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    7d1da5d View commit details
    Browse the repository at this point in the history