Open
Description
π Search Terms
provideInlayHints Debug Failure Unexpected node
π Version & Regression Information
This changed between versions 5.3.0-dev.20230919 and 5.3.0-dev.20230920
β― Playground Link
https://github.com/niklas-wortmann/signals-observable-example
π» Code
Please see product.service.ts
. You don't have to install the Angular plugin.
π Actual behavior
No inlay hints displayed. Debug failure in logs (paths redacted) :
Err 407 [12:11:17.336] Exception on executing command {
"seq": 8,
"type": "request",
"command": "provideInlayHints",
"arguments": {
"file": "/path/to/signals-observable-example/src/app/products/product.service.ts",
"start": 0,
"length": 3739
}
}:
Debug Failure. Unexpected node.
Node MethodSignature was unexpected.
Error: Debug Failure. Unexpected node.
Node MethodSignature was unexpected.
at visitForDisplayParts (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:165467:17)
at /path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:165475:9
at Array.forEach (<anonymous>)
at visitDisplayPartList (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:165471:13)
at visitForDisplayParts (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:165310:13)
at typeToInlayHintParts (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:165195:5)
at visitFunctionDeclarationLikeForReturnType (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:165118:18)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164937:9)
at visitNodes (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30111:22)
at forEachChildInCallOrNewExpression (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30577:99)
at forEachChild (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30620:35)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164940:12)
at visitNodes (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30111:22)
at forEachChildInCallOrNewExpression (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30577:99)
at forEachChild (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30620:35)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164940:12)
at visitNode2 (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30103:18)
at forEachChildInVariableDeclaration (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30165:123)
at forEachChild (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30620:35)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164940:12)
at visitNodes (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30111:22)
at forEachChildInVariableDeclarationList (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30330:12)
at forEachChild (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30620:35)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164940:12)
at visitNode2 (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30103:18)
at forEachChildInVariableStatement (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30327:59)
at forEachChild (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30620:35)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164940:12)
at visitNodes (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30111:22)
at forEachChildInSourceFile (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30324:12)
at forEachChild (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:30620:35)
at visitor (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164940:12)
at Object.provideInlayHints (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:164901:3)
at Object.provideInlayHints2 [as provideInlayHints] (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:145042:34)
at IpcIOSession.provideInlayHints (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:184178:48)
at provideInlayHints (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:183336:43)
at /path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:185356:69
at IpcIOSession.executeWithRequestId (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:185348:14)
at IpcIOSession.executeCommand (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:185356:29)
at IpcIOSession.onMessage (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:185398:51)
at process.<anonymous> (/path/to/signals-observable-example/node_modules/typescript/lib/tsserver.js:186976:14)
at process.emit (node:events:524:28)
at emit (node:internal/child_process:950:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
π Expected behavior
Hints are displayed. No debug failure in logs.
Additional information about the issue
No response