8000 Rework computeSCCs as a class by elliottt · Pull Request #8872 · sorbet/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rework computeSCCs as a class #8872

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

Merged
merged 1 commit into from
May 15, 2025
Merged

Rework computeSCCs as a class #8872

merged 1 commit into from
May 15, 2025

Conversation

elliottt
Copy link
Collaborator
@elliottt elliottt commented May 14, 2025

Restructure the SCC implementation in the packager as a class, allowing us to pass the metadata through instance variables instead.

Turning off whitespace helps to show that this is a pretty small change.

Motivation

Preparing for multiple passes of SCC computation for the different types of edges we have between packages.

Test plan

Existing tests.

@elliottt elliottt force-pushed the trevor/scc-class branch from 52cd9ea to 1f67871 Compare May 14, 2025 21:00
@elliottt elliottt force-pushed the trevor/scc-class branch from 1f67871 to a01fd36 Compare May 14, 2025 21:37
@elliottt elliottt marked this pull request as ready for review May 14, 2025 21:38
@elliottt elliottt requested a review from a team as a code owner May 14, 2025 21:38
@elliottt elliottt requested review from jez and removed request for a team May 14, 2025 21:38
@elliottt elliottt merged commit b0c6ac9 into master May 15, 2025
14 checks passed
@elliottt elliottt deleted the trevor/scc-class branch May 15, 2025 17:16
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
0