mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The order of diagnostic emission absolutely does not matter. What this transaction was actually doing was suppressing valid diagnostics. This is a deeply unsound thing to do since if errors are emitted but Codable synthesis succeeds then invalid code can make its way past Sema. rdar://74392492