Skip to content

fix(ast): instance cache key descends arrayed interface ports by elements - #4

Merged
vbtcl merged 1 commit into
boson-basefrom
fix/instance-cache-key-arrayed-iface
Oct 19, 2026
Merged

vbtcl merged 1 commit into
boson-basefrom
fix/instance-cache-key-arrayed-iface

Conversation

@vbtcl

@vbtcl vbtcl commented Oct 19, 2026 •

Copy link
Copy Markdown

Cherry-pick of upstream MikePopoloski/slang bb629fe (MikePopoloski#1949, fixes upstream MikePopoloski#1947), with its unit test.

boson carries this today as scripts/patches/slang/0009-instance-cache-key-arrayed-interface-ports.patch (partcleda/boson#12943). It is the last boson-local slang patch not yet on boson-base; with it, boson-base source equals the pinned upstream slang (f04e815) plus all twelve boson patches, except that #2 spells std::unique_lock<std::mutex> where boson's 0010 uses CTAD (same type). boson will then build slang from this branch and drop its patch directory.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

…ents

Cherry-pick of upstream MikePopoloski/slang bb629fe (MikePopoloski#1949, fixes MikePopoloski#1947),
carried by boson as scripts/patches/slang/0009. The array a port connection
carries has elements and no scope members, so Scope::empty() dropped the
interface from the instance cache key and two instances bound to different
interface arrays shared one body.

(cherry picked from commit bb629fe)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vbtcl
vbtcl merged commit bc016c6 into boson-base Oct 19, 2026
12 of 15 checks passed
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