Skip to content

fix: handle PhiCNode liveness parity#72

Merged
MilesCranmer merged 1 commit into
MilesCranmer:mainfrom
MilesCranmerBot:mcbot/fix-phicnode-liveness
Jun 10, 2026
Merged

fix: handle PhiCNode liveness parity#72
MilesCranmer merged 1 commit into
MilesCranmer:mainfrom
MilesCranmerBot:mcbot/fix-phicnode-liveness

Conversation

@MilesCranmerBot

Copy link
Copy Markdown
Contributor

Removes the inverted PhiCNode predecessor-count assertion so legal try/catch/finally IR does not raise an internal AssertionError during liveness.

Adds a regression based on the Claude experiment branch. The test only asserts that the checker no longer produces the internal assertion; the remaining BorrowCheckError on this pattern is a separate false-positive issue.

Tested:

  • BORROWCHECKER_ONLY_AUTO=true BORROWCHECKER_TESTITEM="Auto @safe" julia --project=. -e 'using Pkg; Pkg.test()'

Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
@MilesCranmer MilesCranmer merged commit 31058c3 into MilesCranmer:main Jun 10, 2026
5 of 6 checks passed
github-actions Bot referenced this pull request Jun 10, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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