Skip to content

fix duplicate properties from inherited interfaces#590

Merged
ktoso merged 2 commits intoswiftlang:mainfrom
untitled-in-brackets:work/interface-duplicate-fields
Mar 6, 2026
Merged

fix duplicate properties from inherited interfaces#590
ktoso merged 2 commits intoswiftlang:mainfrom
untitled-in-brackets:work/interface-duplicate-fields

Conversation

@diederich
Copy link
Contributor

previously we fixed duplicated properties from classes, but missed them from interfaces.

This fixes that & adds a test for it.

previously we fixes duplicated properties from classes, but missed
them from interfaces. This fixes that & adds a tests
@diederich diederich requested a review from ktoso as a code owner March 6, 2026 10:59
@ktoso
Copy link
Collaborator

ktoso commented Mar 6, 2026

Neat, thanks for catching this

@diederich
Copy link
Contributor Author

diederich commented Mar 6, 2026

Thanks for looking into it! 🙏 Does it format for me, or do we need to drop the comma? 😅

@ktoso
Copy link
Collaborator

ktoso commented Mar 6, 2026

Yeah the current formatting rules dislike this comma... I'll actually undo this, the trailing comma is nice. wait pls

@ktoso
Copy link
Collaborator

ktoso commented Mar 6, 2026

It's seems it's literarily not configurable swiftlang/swift-format#332

Can you please fix the formatting so that swift-format is happy?

…wift

Co-authored-by: Konrad `ktoso` Malawski <konrad.malawski@project13.pl>
@ktoso ktoso merged commit 9c5e8e7 into swiftlang:main Mar 6, 2026
61 checks passed
@ktoso
Copy link
Collaborator

ktoso commented Mar 6, 2026

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants