💅 lint/correctness/noUnreachable false positive #1827
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Rule name
lint/correctness/noUnreachable
Playground link
https://biomejs.dev/playground/?code=dAByAHkAIAB7AAoAIAAgAHUAbgBkAGUAZgBpAG4AZQBkADsACgAgACAAdAByAHkAIAB7AAoAIAAgACAAIAB3AGgAaQBsAGUAIAAoAHQAcgB1AGUAKQAgAHsACgAgACAAIAAgACAAIABpAGYAIAAoAEQAYQB0AGUALgBuAG8AdwAoACkAIAA%2BACAAMAApACAAewAKACAAIAAgACAAIAAgACAAIAB1AG4AZABlAGYAaQBuAGUAZAA7AAoAIAAgACAAIAAgACAAIAAgAGIAcgBlAGEAawA7AAoAIAAgACAAIAAgACAAfQAKACAAIAAgACAAfQAKACAAIAB9ACAAZgBpAG4AYQBsAGwAeQAgAHsACgAgACAAIAAgAGkAZgAgACgARABhAHQAZQAuAG4AbwB3ACgAKQAgAD4AIAAwACkAIAB1AG4AZABlAGYAaQBuAGUAZAA7AAoAIAAgAH0ACgAgACAAaQBmACAAKABEAGEAdABlAC4AbgBvAHcAKAApACAAPgAgADAAKQAgAHUAbgBkAGUAZgBpAG4AZQBkADsACgB9ACAAYwBhAHQAYwBoACAAewAKACAAIAB1AG4AZABlAGYAaQBuAGUAZAA7AAoAfQA%3D
Expected result
No lint/correctness/noUnreachable error, code is reachable (and always reached).
The code is pretty weird but it's the minimum repro I found from my real code.
Code of Conduct
The text was updated successfully, but these errors were encountered: