PHondogo
06/19/2025, 10:11 AMdo {
// some code here
TODO()
} while (true) // warning for unreachable code with suggestion to replace with 'while()'. It is unreachable but in this case i think it should be ok
phldavies
06/19/2025, 10:17 AMtrue
expression is unreachable though - TODO will always throw and so the flow will never reach the point of checking the result of the true
expression to decide whether to loop again.PHondogo
06/19/2025, 10:50 AMMatthiasMeger
06/20/2025, 12:14 PMwhile (true) {
// some code here
TODO()
}