Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removes logic duplicated in SymbolKit #1091

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

heckj
Copy link
Member

@heckj heckj commented Nov 7, 2024

While debugging #1084, I found this duplicate logic (and the source of the issue). There's an open pull request to resolve the error in SymbolKit (swiftlang/swift-docc-symbolkit#89), and this compliments that pull request to resolve #1084, using the logic in SymbolKit over duplicate, local logic.

I opted for SymbolKit's implementation in this case because its method is public, while the local method was private.

  • prefer SymbolKit for this logic

@heckj heckj force-pushed the duplicate-logic branch 2 times, most recently from 92fc12e to 74059be Compare November 15, 2024 17:56
@Kyle-Ye
Copy link
Contributor

Kyle-Ye commented Nov 16, 2024

@swift-ci please test

Copy link
Contributor

@Kyle-Ye Kyle-Ye left a comment

Choose a reason for hiding this comment

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

LGTM. Waiting for the symbolkit PR and other's suggestion before a merge.

 - prefer SymbolKit for this logic
@heckj
Copy link
Member Author

heckj commented Dec 2, 2024

(rebased, but otherwise no changes in that last commit)

@Kyle-Ye
Copy link
Contributor

Kyle-Ye commented Dec 3, 2024

@swift-ci test

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.

race condition with docc preview that appears to be acerbated by including snippets in DocC content
2 participants