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 the developer console and execute the following code: shellwords.split(["text"]).
Note the stack trace shown in the error (first screenshot below).
Open the browser's debugger and look at the source. Note that the lines shown in the stack trace do not correspond to the source code on those lines in the source (second and third screenshots below). This is most easily observed in the third screenshot. The error "string.match" is triggered on line 9, but the stack trace lists line 20, which is a blank line.
Expected Behavior
The line numbers in stack traces should correspond to the correct lines in the TypeScript source code.
Actual Behavior
The line numbers in the stack traces point to different lines in the TypeScript source code.
Screenshots
Stack trace:
Source code showing line 4, which is reported in the stack trace:
Source code showing line 20, which is reported in the stack trace:
The text was updated successfully, but these errors were encountered:
tsc
(if applicable): N/A?Reproduction
yarn install
.yarn browser
.shellwords.split(["text"])
.Expected Behavior
The line numbers in stack traces should correspond to the correct lines in the TypeScript source code.
Actual Behavior
The line numbers in the stack traces point to different lines in the TypeScript source code.
Screenshots
Stack trace:
Source code showing line 4, which is reported in the stack trace:
Source code showing line 20, which is reported in the stack trace:
The text was updated successfully, but these errors were encountered: