Compiler: fix five small lattice, cache and folding bugs #65334
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 218 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.322
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #65334"
general
weight: 0.35
IanButterworth
Claude:
---
Five small Compiler fixes, one commit each, none needing a backport:
Union{}was not⊑aConstorPartialStructon the optimizer lattice, which has no outer layer with that fast path. (write-up)x ⊑ₑ ⊥was false for anxthat is== ⊥but not=== ⊥, such asignore_argescape(⊥). (write-up)Varargwere never found in the local cache, so each such call site repeated constant propagation. (write-up)max_union_splittingdocstring said it bounds the number of split signatures; it bounds a cost, so one 20-member union still splits 20 ways. (write-up)a <: bfolded tofalsewhenacould beUnion{}at run time, e.g. a fieldt::Type{<:Integer}holdingUnion{}. This loses false folds whose left side is a non-exactType{<:T}, such aseltype(::Vector{<:Integer}) <: String, so it is the last commit and can be dropped if the old fold is intended. (write-up)Written with Claude Code (Opus 5.5).