mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* Issue-60730: Addressing the situation where we were saying that (any P)? does not conform to P, instead we should offer the Force Optional error messaging * Issue-60730: Removing assigned of AllowArgumentMismatch fix that would get thrown away if we fall into ForceOptional fix * Issue-60730: Removing file that was accidentally changed * Issue-60730: Updating to use simplifyConformsToConstraint - and to clean up code per comments * Issue-60730: Updating to pass protocoDecl instead of type2 to simplifyConformsToConstraint * Issue-60730: Updating to pass protocoDecl instead of type2 to simplifyConformsToConstraint * Issue-60730: Updating to not pass 1 to recordFix, where that is the default value * Issue-60730: Adding in test to validate that the fix works as expected * Issue-60730: Cleaning up test based on PR Comments * Issue-60730: Correcting typo in test * Issue-60730: Adding additional test cases for layers of optionals and for non-conforming argument * Issue-60730: Updating test to include fixme(diagnostics) for multilpe layers of force unwrap
534 KiB
534 KiB