Skip to content

jextract/jni: Support protocol inheritance#773

Merged
ktoso merged 2 commits into
swiftlang:mainfrom
sidepelican:interface_inheritance
May 27, 2026
Merged

jextract/jni: Support protocol inheritance#773
ktoso merged 2 commits into
swiftlang:mainfrom
sidepelican:interface_inheritance

Conversation

@sidepelican
Copy link
Copy Markdown
Contributor

Currently, when an inheritance relationship exists between protocols, the generated Java class only expresses conformance to the child protocol.
The parent protocol relationship is lost.

This PR updates the generator to properly represent protocol inheritance within the generated Java interfaces.

@sidepelican sidepelican requested a review from ktoso as a code owner May 27, 2026 06:06
Copy link
Copy Markdown
Collaborator

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic fix, thanks you

@ktoso ktoso merged commit 3b0c883 into swiftlang:main May 27, 2026
41 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.

2 participants