mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Stop pretending that an optional requirement is immutable via the `StorageImplInfo` request. This approach has lead astray the conformance checker and may have had a negative impact on other code paths, and it doesn't work for imported declarations because they bypass the request. Instead, use a forwarding `AbstractStorageDecl::isSettableInSwift` method that special-cases optional requirements.
1.9 KiB
1.9 KiB