Skip to content

Conversation

@metagn
Copy link
Collaborator

@metagn metagn commented May 11, 2023

onUse and onDefResolveForward have been no-ops since #20250, however they were not removed from code as they could serve as some kind of comment. In this PR these are removed entirely since onDefResolveForward is used once and onUse is basically always paired with a markUsed/incl(s.flags, sfUsed) call. In the case where this is removing too much information though, instead of removing we can replace these with just comments, like # s is used here.

The stub definition of onDef is also moved next to the real definition of onDef instead of along with onUse and onDefResolveForward.

@metagn metagn closed this Aug 21, 2023
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.

1 participant