[SR-12733] The swizzled in method of a final class resolves static references to its type incorrectly since Xcode 11.4 #55178
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Environment
Reproducable in Playground, with any platform selected
Additional Detail from JIRA
md5: 5343d71f949baac6d34987d9b6effea5
Issue Description:
Since Xcode 11.4 static references to the type within a swizzled in method of a final class will resolve to the class whose method is being replaced. The issue can be reproduced in a Playground with the following code:
In Xcode 11.3 the output is the expected:
but since Xcode 11.4 the output is:
Removing the final modifier from the B declaration resolves the issue.
The text was updated successfully, but these errors were encountered: