Skip to content

[NFC] Deduplicate logic in Unsubtyping#8275

Merged
tlively merged 2 commits into
mainfrom
deduplicate-unsubtyping-noting
Feb 9, 2026
Merged

[NFC] Deduplicate logic in Unsubtyping#8275
tlively merged 2 commits into
mainfrom
deduplicate-unsubtyping-noting

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented Feb 8, 2026

Extract logic for noting subtyping, cast, and descriptor relationships
from the function-parallel analysis and fixed point analysis phases of
Unsubtyping into a shared CRTP utility. This will help avoid additional
duplication in a follow-on PR that newly notes casts outside the
function-parallel context.

They were previously printed as "(unnamed)". Instead, prefix defined
type names with a $ and print basic type names as well. This makes debug
logging output in various passes more informative.
Extract logic for noting subtyping, cast, and descriptor relationships
from the function-parallel analysis and fixed point analysis phases of
Unsubtyping into a shared CRTP utility. This will help avoid additional
duplication in a follow-on PR that newly notes casts outside the
function-parallel context.
@tlively tlively requested a review from kripken February 8, 2026 20:14
Base automatically changed from print-module-basic-heaptype to main February 9, 2026 17:06
@tlively tlively merged commit c3afdd0 into main Feb 9, 2026
17 checks passed
@tlively tlively deleted the deduplicate-unsubtyping-noting branch February 9, 2026 17:07
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