Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Nov 14, 2025

  • Explanation:

    printModuleInterfaceDecl prints extensions right after the type they are associated with is printed. Extensions associated with a type that appears in the "target" module shouldn't be added to SwiftDecls because that would lead to double printing them.

  • Main Branch PR: [IDE] Avoid printing some Swift extensions twice in mixed source fram… #85501

  • Risk: Low. Affects only swift extensions for types declared in the module that is being processed.

  • Reviewed By: @bnbarham @hamishknight

  • Testing: Added new test-cases to the suite.

(cherry picked from commit 700d9fd)

…eworks

`printModuleInterfaceDecl` printes extensions right after the type
they are associated with is printed. Extensions associated with a
type that appears in the "target" module shouldn't be added to
`SwiftDecls` because that would lead to double printing them.

(cherry picked from commit 700d9fd)
@xedin xedin requested a review from bnbarham November 14, 2025 17:46
@xedin xedin requested a review from a team as a code owner November 14, 2025 17:46
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.3 labels Nov 14, 2025
@xedin
Copy link
Contributor Author

xedin commented Nov 14, 2025

@swift-ci please test

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

Labels

🍒 release cherry pick Flag: Release branch cherry picks swift 6.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant