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

Make dead code indexing use a Model to index modules #563

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

Morriar
Copy link
Collaborator

@Morriar Morriar commented Jun 19, 2024

Follow-up on #562.

This time, we switch the indexing of modules to Model:

  • Remove modules indexing from Deadcode::Indexer (0550ca2)
  • Make the Deadcode::Plugins take Model::SymbolDef when calling on_define_module (acad959)

There is no behavior change: no tests are changed.

This PR is easier to review commit by commit.

@Morriar Morriar added the chore Chore task label Jun 19, 2024
@Morriar Morriar self-assigned this Jun 19, 2024
@Morriar Morriar requested a review from a team as a code owner June 19, 2024 20:34
@Morriar Morriar requested review from egiurleo and KaanOzkan June 19, 2024 20:34
@Morriar Morriar force-pushed the at-model-deadcode-classes branch from 6359779 to 49c816f Compare June 20, 2024 14:27
@Morriar Morriar force-pushed the at-model-deadcode-modules branch from acad959 to 2fca5fd Compare June 20, 2024 14:27
Base automatically changed from at-model-deadcode-classes to main June 20, 2024 17:20
@Morriar Morriar merged commit 1ea75f4 into main Jun 20, 2024
8 checks passed
@Morriar Morriar deleted the at-model-deadcode-modules branch June 20, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants