Fix evaluation of boolean conditions
authorRoberto Raggi <roberto.raggi@nokia.com>
Thu, 5 May 2011 15:19:01 +0000 (17:19 +0200)
committerRoberto Raggi <roberto.raggi@nokia.com>
Thu, 5 May 2011 15:19:01 +0000 (17:19 +0200)
commite50b7c92998905efdd40314724480e3070bdbcb5
treef83dcfbc426e5a98d120f926d54cdf98892e31c7
parent8883e0500eb7dee2439fce884acfd2177e07811a
Fix evaluation of boolean conditions

Ensure that the operand of IR::OpIfTrue and IR::OpNot has boolean type.
src/declarative/qml/v4/qdeclarativev4compiler.cpp
tests/auto/declarative/qdeclarativev4/data/conditionalExpr.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativev4/tst_qdeclarativev4.cpp