Files
qt-creator/tests/auto/qml/codemodel/check/suppression.qml
Christian Kamm 412e61d2c2 QmlJS: Fix tests.
* Some were not adjusted for the Document::MutablePtr change.
* The basic test failed because the welcome plugin failed to load.
* The check test wasn't updated for @disable -> @disable-check.

Change-Id: Iae848832f740363bc33915d7a202a6cff08e2189
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-11-09 15:54:43 +01:00

16 lines
272 B
QML

import Qt 4.7
Rectangle {
function foo() {
a + b // 127 9 13
// @disable-check M127
a + b
a + b // @disable-check M127
// @disable-check M127 31 12 30
// @disable-check M126 31 12 30
a + b // 127 9 13
}
}