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

red-knot: Don't refer to Module instances as IDs #11649

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented May 31, 2024

This PR is a followup to #11638.

Module instances are not IDs that can be used to lookup modules; in fact, they are a direct representation of the module. (The representation of a module internally wraps a unique ID, but that's just an implementation detail.)

This PR accordingly updates various comments and variable names in module.rs to remove various places where Module instances are referred to as "IDs".

@AlexWaygood AlexWaygood changed the title red-knot: Don't refer to instances as IDs red-knot: Don't refer to Module instances as IDs May 31, 2024
Copy link
Contributor

github-actions bot commented May 31, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood AlexWaygood enabled auto-merge (squash) May 31, 2024 20:01
@AlexWaygood AlexWaygood merged commit d62a617 into main May 31, 2024
18 checks passed
@AlexWaygood AlexWaygood deleted the module-rs-comments branch May 31, 2024 20:04
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