New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.type
command in REPL on windows causes subsequent inputs to fail
#1126
Comments
Looks like this is only an issue on Windows, so it might have to do with newlines. We only execute things added in the diff; not sure if the diff is showing "changed" instead of "added" on Windows due to newlines. Or maybe there's a cache poisoning issue in our The compiled output gets stuck after a .type check, where the compiled output includes and stops at the typechecked identifier, even though the identifier has been removed from input and replaced with subsequent user input. |
I did some more digging into this. It seems like it might be a bug inside TypeScript itself. After we call Additionally, it happens on Windows only. |
I'd suggest renaming the issue to reflect the actual problem, as this is not a performance issue. |
.type
command is crippling the REPL.type
command in REPL on windows causes subsequent inputs to fail
Expected Behavior
Actual Behavior
Steps to reproduce the problem
.type
the symbol3 + 4
Minimal reproduction
TypeStrong/ts-node-repros#5
Specifications
The text was updated successfully, but these errors were encountered: