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
Github won't let me post biome rage because it says the issue body is too long
$ biome version
CLI: 1.2.2
Server: not connected
$ uname -a
Linux DESKTOP-E310FOD 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Also happens on my laptop running Fedora Silverblue
What happened?
Open a new file with biome LSP enabled
Type /
Biome crashes
Alternatively:
$ echo / >test.js
$ biome check test.js
Biome encountered an unexpected error
This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
Source Location: crates/biome_js_syntax/src/expr_ext.rs:633:26
Thread Name: rome::worker_0
Message: begin <= end (1 <= 0) when slicing `/`
test.js internalError/panic INTERNAL ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ processing panicked: begin <= end (1 <= 0) when slicing `/`
⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.
Checked 1 file(s) in 1106µs
Expected result
Should output a syntax error instead of crashing
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
Github won't let me post
biome rage
because it says the issue body is too longAlso happens on my laptop running Fedora Silverblue
What happened?
/
Alternatively:
Expected result
Should output a syntax error instead of crashing
Code of Conduct
The text was updated successfully, but these errors were encountered: