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
Open route.js, which has a very large array declaration in it
Trigger completion on the close brackets (]) in the middle of the array somewhere
Watch tsserver eat 100% cpu for an hour
I haven't been able to attach to VS Code to take a callstack, but I have a tsserverfuzzer repro, which I believe is the same issue, and that one has the following callstack.
From stepping around in the debugger, the frame that it got stuck in seems to be findPrecedingMatchingToken - we never get out of that function.
route.js
, which has a very large array declaration in it]
) in the middle of the array somewhereI haven't been able to attach to VS Code to take a callstack, but I have a tsserverfuzzer repro, which I believe is the same issue, and that one has the following callstack.
From stepping around in the debugger, the frame that it got stuck in seems to be
findPrecedingMatchingToken
- we never get out of that function.TypeScript Version: 3.9.3, 4.1.0-dev.2020081
The text was updated successfully, but these errors were encountered: