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
[ConstraintSystem] Detect and diagnose missing generic arguments #25149
Commits on May 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e97955e - Browse repository at this point
Copy the full SHA e97955eView commit details -
[ConstraintLocator] NFC: Add a helper to return generic parameter if …
…locator points to one
Configuration menu - View commit details
-
Copy full SHA for 29e79c6 - Browse repository at this point
Copy the full SHA 29e79c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3737358 - Browse repository at this point
Copy the full SHA 3737358View commit details -
[Diagnostics] Improve missing generic argument diagnostic notes
Emit separate notes for generic parameters found in operator, initializer and function declarations. As well as clarify types of `declared in type` note.
Configuration menu - View commit details
-
Copy full SHA for 44536fe - Browse repository at this point
Copy the full SHA 44536feView commit details -
[ConstraintSystem] Default generic parameters associated with missing…
… member to `Any` As part of the `DefineBasedOnUse` fix introduced in places where there is a reference to non-existent member, let's also add constraints which allow to default any generic parameters found in base type to `Any`.
Configuration menu - View commit details
-
Copy full SHA for 636b4ce - Browse repository at this point
Copy the full SHA 636b4ceView commit details -
[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
Configuration menu - View commit details
-
Copy full SHA for c30845f - Browse repository at this point
Copy the full SHA c30845fView commit details
Commits on May 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d0a9560 - Browse repository at this point
Copy the full SHA d0a9560View commit details -
[Diagnostics] Replace CSDiag logic for diagnosing missing generic arg…
…uments with new diagnostic
Configuration menu - View commit details
-
Copy full SHA for 5e35c3e - Browse repository at this point
Copy the full SHA 5e35c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for da799eb - Browse repository at this point
Copy the full SHA da799ebView commit details