Main
Our Ecosystem CI detected a panic on the following file. The panics arise from the Control Flow Graph.
I managed to reduce the bug to the following code:
if (xs) {}
for (const y of ys) {
() => {
for (const z of zs) {
break;
}
};
}
Here is the reported panic:
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: /home/conaclos/project/biome/crates/biome_control_flow/src/lib.rs:35:21
Thread Name: biome::worker_1
Message: index out of bounds: the len is 4 but the index is 5
index.js internalError/panic INTERNAL ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β processing panicked: index out of bounds: the len is 4 but the index is 5
β This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.
Biome should not panic
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too