swift
e2db4d22 - Revert "AST: Spot fix for AbstractStorageDecl::isResilient()"

Commit
2 years ago
Revert "AST: Spot fix for AbstractStorageDecl::isResilient()" This reverts commit d5b354fd5f93a2ce9fce9e55f24d993b1bef5381. It causes miscompiles when accessing properties declared with `@_originallyDefinedIn` that are now defined in modules with library evolution enabled from the module that the property was originally defined in. Just because the property used to be declared in the current module doesn't mean it can bypass the stable ABI of the module that the property now belongs to. It looks like the logic that this PR replaced is also faulty, since `@_originallyDefinedIn` really oughtn't factor into the resilience computation at any level, but let's unwind one level of brokenness at a time. Fixes rdar://113935401.
Author
Committer
Parents
Loading