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

[5.1][ConstraintSystem] Detect and diagnose missing generic arguments #25485

Merged
merged 1 commit into from
Jun 15, 2019

Commits on Jun 14, 2019

  1. [ConstraintSystem] Detect and diagnose missing generic arguments

    Introduce a fix to detect and diagnose situations when omitted
    generic arguments couldn't be deduced by the solver based on
    the enclosing context.
    
    Example:
    
    ```swift
    struct S<T> {
    }
    
    _ = S() // There is not enough context to deduce `T`
    ```
    
    Resolves: rdar://problem/51203824
    xedin committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    bfe1987 View commit details
    Browse the repository at this point in the history