Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.0 Beta1
-
af335a89bd2f8b41c059c1467bac55fdaf4f2dc0 c2ca8f3ab1efcaedc7e48c834a9f8f8af2d7c078
Description
Analogous to QTBUG-104462, at the beginning of each function we need to initialize locals that are not overwritten in all possible branches. They should initially be undefined/void.
The "inverse" of QTBUG-104665 can be used as an example, or even simpler:
function a() : string { var x; return x + ""; }
What we want here is "undefined", not the empty string.