haxe
haxe copied to clipboard
Regression: extractor fails in non-exhaustive switch
Nightly b537e99, worked in 4.3.4
switch ("abc") {
case _.charCodeAt(0) => 'a'.code: trace("1");
case _.charCodeAt(1) => 'e'.code: trace("2");
// default: trace(3); // "Local variable _hx_tmp used without being initialized" when commented out
// works normally when uncommented
}
@kLabz