-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputDomain: Refactoringse.g. extract to constant or function, rename symbole.g. extract to constant or function, rename symbolEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Good issue if you're already used to contributing to the codebase. Harder than "good first issue".Help WantedYou can do thisYou can do thisOld-Crawler-DetectedDetected by an older crawler (aka "fuzzer") running random TSServer operations on public code.Detected by an older crawler (aka "fuzzer") running random TSServer operations on public code.
Milestone
Description
export {};
declare module 'some-module' {
export function /**/func(): void;
}
Request the "Convert named export to default export" refactoring at /**/
.
Response received: getEditsForRefactor (1227). Request took 5 ms. Success: false . Message: Error processing request. Debug Failure. Unexpected parent kind 255 SyntaxKind: FunctionDeclaration
Error: Debug Failure. Unexpected parent kind 255 SyntaxKind: FunctionDeclaration
at changeNamedToDefaultImport ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:155700:30)
at [EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:155626:21
at Object.eachExportReference ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:134746:29)
at changeImports ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:155620:39)
at doChange ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:155573:13)
at [EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:155508:94
at Function.ChangeTracker.with ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:145583:17)
at Object.getRefactorEditsToConvertBetweenNamedAndDefaultExports [as getEditsForAction] ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:155508:62)
at Object.getEditsForRefactor ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:146889:41)
at Object.getEditsForRefactor ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:162411:32)
at IpcIOSession.Session.getEditsForRefactor ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:173459:59)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:172163:61)
at [EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:173822:88
at IpcIOSession.Session.executeWithRequestId ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:173813:28)
at IpcIOSession.Session.executeCommand ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:173822:33)
at IpcIOSession.Session.onMessage ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:173848:35)
at process.<anonymous> ([EXTENSION_DIR]\ms-vscode.vscode-typescript-next-4.6.20220208\node_modules\typescript\lib\tsserver.js:176483:31)
at process.emit (events.js:315:20)
at emit (internal/child_process.js:903:12)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptCrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputDomain: Refactoringse.g. extract to constant or function, rename symbole.g. extract to constant or function, rename symbolEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Good issue if you're already used to contributing to the codebase. Harder than "good first issue".Help WantedYou can do thisYou can do thisOld-Crawler-DetectedDetected by an older crawler (aka "fuzzer") running random TSServer operations on public code.Detected by an older crawler (aka "fuzzer") running random TSServer operations on public code.