You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
panic: Unhandled case in Node.MemberList: KindVariableDeclarationList on merged namespace/enum element accessΒ #64895
panic: Unhandled case in Node.MemberList: KindVariableDeclarationList [recovered, repanicked]
The compiler crashes instead of emitting a type error or handling gracefully.
π Expected behavior
tsc should emit a type error (e.g. TS2304 or similar) or
handle the merged namespace/enum case gracefully without crashing.
TypeScript 5.x handles this without panicking.
Additional information about the issue
This is a variant of #64668 (KindModuleBlock panic) but triggered
by export const instead of export class in the namespace.
The fix PR #64746 targets KindModuleBlock it likely does not
cover KindVariableDeclarationList.
Activity
Andarist commentedon Oct 21, 2026
this is already being fixed by #64746