Skip to content

Incompatibility introduced between TypeScript 5.8.3 and 5.9.2 #437

Description

@blimmer

When upgrading from TypeScript 5.8.3 to 5.9.2, I'm now getting these errors at build time:

evalmachine.<anonymous>:128647
              throw e;
              ^

Error: Debug Failure. False expression: Lexical environment is suspended.
    at Object.startLexicalEnvironment (evalmachine.<anonymous>:121175:11)
    at visitParameterList (evalmachine.<anonymous>:95964:11)
    at visitEachChildOfGetAccessorDeclaration (evalmachine.<anonymous>:96218:7)
    at Object.visitEachChild (evalmachine.<anonymous>:96117:33)
    at Object.nodeVisitor (/Users/blimmer/code/my-repo/node_modules/typescript-transform-paths/dist/visitor.js:117:23)
    at visitArrayWorker (evalmachine.<anonymous>:95931:49)
    at visitNodes2 (evalmachine.<anonymous>:95902:19)
    at visitEachChildOfTypeLiteralNode (evalmachine.<anonymous>:96307:7)
    at Object.visitEachChild (evalmachine.<anonymous>:96117:33)
    at Object.nodeVisitor (/Users/blimmer/code/my-repo/node_modules/typescript-transform-paths/dist/visitor.js:117:23)

Node.js v24.6.0

I'm working to see if I can create a small repro case, but I wanted to file this issue first to see if anyone has ideas on what might be causing this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions