-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Panic on weird n" in a Rust file #7468
Comments
@pascalkuthe @archseer This should be the buggy commit: d491e23 |
Explicit panic in an editor does not sound like a good idea :/ |
Your helix version points to a commit from last month though? Can you try with the fix that has since landed in master 8d39a81 |
Then
|
I can reproduce i will look into fix |
@pascalkuthe Thank you! @archseer Should I open an issue about |
Summary
I was writing the following line in Rust:
After entering
\n
, the editor crashed!The panic is from the following line:
helix/helix-core/src/transaction.rs
Line 413 in d8f9b90
Reproduction Steps
I found a minimal (and very weird) example to reproduce this bug:
cargo new project
cd project
echo 'n"' > src/main.rs
hx src/main.rs
c
over the charactern
to change it.Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
Alacritty 0.12.1
Helix Version
helix 23.05 (d511122)
The text was updated successfully, but these errors were encountered: