Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.17, 6.8.0
Description
if block is evaluated to true if a number or a string is appended at the end of the condition.
Snippet to reproduce the issue:
Window { visible: true width: 300 height: 200 Component.onCompleted: { if (false) 0 { console.log("hello") } } }