Repository navigation
typecheck: interprocedural escape analysis without parameter annotations (#687) - #888
Merged
Merged
Conversation
…ons (#687) Track when a function parameter escapes to static storage or is returned, and propagate that across call sites, so a local passed into a callee that stores it is caught. Integrates with the existing domain-escape check so the same escape is not double-reported. 318 type/effect/lifetime tests pass. Co-Authored-By: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #687. Tracks when a function parameter escapes to static storage or is returned and propagates that across call sites, so a local passed into a callee that stores it is caught. No parameter annotations required. Integrates with the existing domain-escape check to avoid double-reporting. 318 type/effect/lifetime tests pass (built on #679, doc gap-list reconciled).