Skip to content

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Sep 6, 2025

Fixes a regression caused by the self declaration being given a DynamicSelfType even though the formal type of the enclosing function sometimes still uses the concrete base class type.

Fixes #83876 | rdar://158956768.

@jckarter jckarter requested a review from kavon as a code owner September 6, 2025 16:56
@jckarter
Copy link
Contributor Author

jckarter commented Sep 6, 2025

@swift-ci Please test

…for initializers.

Fixes a regression caused by the `self` declaration being given a `DynamicSelfType`
even though the formal type of the enclosing function sometimes still uses the
concrete base class type.

Fixes swiftlang#83876 | rdar://158956768.
@jckarter jckarter force-pushed the protocol-objc-class-dyn-self-mismatch branch from be2a5e2 to 4f1e895 Compare September 8, 2025 16:42
@jckarter
Copy link
Contributor Author

jckarter commented Sep 8, 2025

@swift-ci Please test

@jckarter
Copy link
Contributor Author

jckarter commented Sep 8, 2025

@swift-ci Please test macOS

@jckarter
Copy link
Contributor Author

jckarter commented Sep 9, 2025

@swift-ci Please smoke test macOS

@jckarter jckarter merged commit 9b271db into swiftlang:main Sep 9, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIL verifier crashes when protocol static func is conformed by type class func
1 participant