Files
qt-creator/tests/auto/qml/codemodel/check/expression-statement.qml

27 lines
378 B
QML
Raw Normal View History

import Qt 4.7
Rectangle {
function foo() {
a // 127 9 9
a + b // 127 9 13
a()
delete b
a = 12
a += 12
d().foo // 127 9 15
}
x: a + b
y: { a + b }
z: if (a)
b
else
c
width: {
function foo() {
a // 127 13 13
}
foo()
a
}
}