-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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 outputCrawler-DetectedDetected by a crawler running random TSServer operations on public code.Detected by a crawler running random TSServer operations on public code.Fix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
nhn/tui.editor Repro is open this, then close it, then open this. AFAICT, opening the first file loads the root tsconfig, which contains the second file. When the second file is opened, the scriptinfo already exists and the root tsconfig is the only containing project. However, it promptly discovers the nearest tsconfig and triggers a cleanup, retaining only that project. It does not seem to actually add the nearby project to the list of containing projects, though it might later, during graph update. One quick fix might be to just skip the telemetry call that's throwing if there are no containing projects (pending graph update).
Originally posted by @amcasey in #50835 (comment)
Reactions are currently unavailable
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 outputCrawler-DetectedDetected by a crawler running random TSServer operations on public code.Detected by a crawler running random TSServer operations on public code.Fix AvailableA PR has been opened for this issueA PR has been opened for this issue