Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Always transform Inlined.call in CheckUnused #23280

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

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

Conversation

som-snytt
Copy link
Contributor

Fixes #23201

Previously, CheckUnused transformed the call tree of an Inlined node only after typer (and not after inlining), but inlining also results in non-trivial call trees.

Needs a minimized test, where an import is required for expansion but is unused at typer.

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.

False positive unused import of inline given needed by derives
1 participant