Removed dead code caused by NoReturn
Error when calling method on NoReturn
Keep if's condition's type filters after the if, if the else is NoReturn