Skip to content

fix(tsgo): symbol data collect for anonymous type - #2132

Merged
quininer merged 1 commit into
mainfrom
x/tsgo-symbol-collect-anonymous
Sep 11, 2026
Merged

quininer merged 1 commit into
mainfrom
x/tsgo-symbol-collect-anonymous

Conversation

@quininer

Copy link
Copy Markdown
Contributor

Motivation

Type data for anonymous type literals could reference a symbol missing from Symtab, leaving a dangling symbol reference for consumers.

Changes

Record symbols reached through Type.Symbol() before storing their IDs in type data. Add a tsgo-client integration test to verify that type-literal symbols have corresponding symbol data.

@quininer
quininer merged commit 291f974 into main Sep 11, 2026
14 checks passed
@quininer
quininer deleted the x/tsgo-symbol-collect-anonymous branch September 11, 2026 05:53
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