Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pigeon] Fully-qualify types in Equatable extension test (#6946)
Updating to Xcode 16 exposed a new compilation error: "extension declares a conformance of imported type 'DataWithEnum' to imported protocol 'Equatable'". The [Swift Warning for Retroactive Conformances of External Types](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md) proposal says: > It does mean projects building with an older Swift will not have access to [the @retroactive] syntax, so as a source compatible fallback, a client can silence this warning by fully-qualifying all types in the extension. As an example, the above conformance can also be written as > ``` > extension Foundation.Date: Swift.Identifiable { > // ... > } > ``` > This will allow projects that need to build with multiple versions of Swift, and which have valid reason to declare such conformances, to declare them without tying their project to a newer compiler build. So change the test to fully-qualify the types. This prevented the warning when I tried it in #6942. Fixes flutter/flutter#150391
- Loading branch information