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
/home/jabaile/work/TypeScript/src/compiler/program.ts:2918
throw e;
^
Error: Debug Failure.
at transformClassLike (/home/jabaile/work/TypeScript/src/compiler/transformers/esDecorators.ts:700:19)
at visitClassDeclaration (/home/jabaile/work/TypeScript/src/compiler/transformers/esDecorators.ts:1094:30)
at visitor (/home/jabaile/work/TypeScript/src/compiler/transformers/esDecorators.ts:432:24)
at visitArrayWorker (/home/jabaile/work/TypeScript/src/compiler/visitorPublic.ts:345:57)
at visitNodes2 (/home/jabaile/work/TypeScript/src/compiler/visitorPublic.ts:258:21)
at visitLexicalEnvironment (/home/jabaile/work/TypeScript/src/compiler/visitorPublic.ts:383:18)
at visitEachChildOfSourceFile (/home/jabaile/work/TypeScript/src/compiler/visitorPublic.ts:1779:13)
at visitEachChild (/home/jabaile/work/TypeScript/src/compiler/visitorPublic.ts:603:38)
at transformSourceFile (/home/jabaile/work/TypeScript/src/compiler/transformers/esDecorators.ts:317:25)
at transformSourceFileOrBundle (/home/jabaile/work/TypeScript/src/compiler/transformers/utilities.ts:130:54)
Node.js v20.12.2
Source file is ghost/ghost/src/listeners/example.listener.ts, node is:
exportclassExampleListener{constructor(
@Inject('logger')privatelogger: Logger){}
@OnEvent(ExampleEvent)asynclogEvents(event: ExampleEvent){this.logger.info(`Received an event with a message: ${event.data.message}`);}}
Which does crash the playground when I put it there.
π Search Terms
Error Debug Failure at transformClassLike
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
π Expected behavior
No crash.
Additional information about the issue
This bisects to #56955, at:
The text was updated successfully, but these errors were encountered: