// fixhunt regression fixture: biome style/noUselessElse, 2.5.15 // the fix labelled safe changes the program's output on this program // before the fix: stdout "undefined", exit 0 // after the fix: stdout "function", exit 0 // finding 2026-10-17T19-42-12-619Z-e4vp-biome-style_noUselessElse/r1-p008; rule fired 1 time(s) before the fix function main() { switch (0) { case 0: if (false) { return; } else { function g() { return 2; } } console.log(typeof g); } } main();