chore: bump typescript to 7.0.2#4252
Open
tido64 wants to merge 2 commits into
Open
Conversation
tido64
commented
Jul 14, 2026
Member
Author
There was a problem hiding this comment.
This was rewritten to workaround a crash:
panic: Unknown parent for parameter: KindArrowFunction [recovered, repanicked]
goroutine 1003 [running]:
sync.(*WaitGroup).Go.func1.1()
sync/waitgroup.go:251 +0x48
panic({0x10573bd60?, 0x166c6ea855b0?})
runtime/panic.go:860 +0x12c
github.com/microsoft/typescript-go/internal/transformers/declarations.getParameterDeclarationTypeVisibilityDiagnosticMessage(0x0?, {0x2, {0x0, 0x0, 0x0}, {0x166c6f41ec80, 0xd}, 0x166c6ea60708, {0x166c6f735260, 0x66}})
github.com/microsoft/typescript-go/internal/transformers/declarations/diagnostics.go:431 +0x420
github.com/microsoft/typescript-go/internal/transformers/declarations.createGetSymbolAccessibilityDiagnosticForNode.wrapSimpleDiagnosticSelector.func9({0x2, {0x0, 0x0, 0x0}, {0x166c6f41ec80, 0xd}, 0x166c6ea60708, {0x166c6f735260, 0x66}})
github.com/microsoft/typescript-go/internal/transformers/declarations/diagnostics.go:20 +0x5c
github.com/microsoft/typescript-go/internal/transformers/declarations.(*SymbolTrackerImpl).handleSymbolAccessibilityError(0x166c6ed1d740, {0x2, {0x0, 0x0, 0x0}, {0x166c6f41ec80, 0xd}, 0x166c6ea60708, {0x166c6f735260, 0x66}})
github.com/microsoft/typescript-go/internal/transformers/declarations/tracker.go:211 +0x8c
github.com/microsoft/typescript-go/internal/transformers/declarations.(*SymbolTrackerImpl).TrackSymbol(0x166c6ed1d740, 0x0?, 0x166c6ea961e0?, 0x0?)
github.com/microsoft/typescript-go/internal/transformers/declarations/tracker.go:194 +0xb0
github.com/microsoft/typescript-go/internal/checker.(*SymbolTrackerImpl).TrackSymbol(0x166c715a1380, 0x166c716c03a8, 0x166c6ea60708, 0xc09e8)
Upstream issue: microsoft/typescript-go#4629
fe806ab to
258dee0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps TypeScript to to 7.0.2
Test plan
n/a