Files
qt-creator/tests/auto/qml/codemodel/check/useless-blocks.qml
Christian Kamm 55713a1514 QmlJS checks: Add severity and unique id to messages.
Change-Id: I2cded26524c3f64152107e65d740658e3003ffac
Reviewed-on: http://codereview.qt-project.org/5790
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-10-10 14:39:20 +02:00

18 lines
215 B
QML

import Qt 4.7
Rectangle {
function foo() {
{} // 115 9 9
if (a) {}
}
onXChanged: {
{} // 115 9 9
while (A) {}
}
property int d: {
{} // 115 9 9
}
}