Skip to content

test(infer): G3 (A) stale witness — branded intermediate alias chain field access - #5931

Merged
briansrls merged 1 commit into
mainfrom
g3-a-stale-witness
Jun 29, 2026
Merged

briansrls merged 1 commit into
mainfrom
g3-a-stale-witness

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Probe findings (execution-backed)

Witness Result
Branded intermediate hop (this PR test) PASS
chained_type_alias_field_access (plain C=B=A) PASS
G3 (B) param-dependent / multihop tests post-#5925 PASS

04_lookup.dag:156-195 unchanged since #5734; #5925 fixed only the infer alias-chain type-arg path.

Adjacent (out of scope): type C = B where brand("C") with receiver typed C still fails field access — terminal use-site brand, not the documented intermediate-hop (A) class.

Test plan

  • cargo test -p v1-compiler-tests g3_branded_intermediate_alias_chain_field_access

Made with Cursor

…chain

Pins the documented lookup:188 self-ref-guard / brand-preservation class
(C=B=A with rebrand on intermediate hop) as passing on post-#5925 main,
closing the read-only probe without a lookup fix.

Co-authored-by: Cursor <cursoragent@cursor.com>
@briansrls
briansrls merged commit dac12d0 into main Jun 29, 2026
2 checks passed
@briansrls
briansrls deleted the g3-a-stale-witness branch June 29, 2026 04:50
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