Commit Graph

4 Commits

Author SHA1 Message Date
Anthony Latsis
f76f6acbf0 Revert "Sema: Emit diagnostics when walking into collection literals with defaulted types"
This reverts commit f608802cfe.
2023-04-20 21:55:40 +03:00
Sima Nerush
f608802cfe Sema: Emit diagnostics when walking into collection literals with defaulted types
Resolves https://github.com/apple/swift/issues/60011

Gardening: clean up `checkTypeDefaultedCollectionExpr` function
2022-08-15 22:45:21 -06:00
LucianoAlmeida
034c4bd77e [Sema] Attempt diagnose generic arg ambiguity if all solutions produce generic arg mismatch 2022-02-22 22:38:51 -03:00
Hamish Knight
04b37ae1d0 [CS] Don't apply compatibility logic in Swift 6 mode
This was only intended to preserve compatibility
for cases where the constraint system may have
previously accepted invalid code. Drop it in Swift 6
mode such that invalid collection coercions become
errors.
2022-02-10 19:06:49 +00:00