summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/metaobjectRevisionErrors.qml
blob: 44d421e8ee169c88deabe01a7fcbcaf91bd4dad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 1.0
import Qt.test 1.0

MyRevisionedClass
{
    // Will not hit optimizer
    property real p1: prop1 % 3
    property real p2: prop2 % 3

    // Should hit optimizer
    property real p3: prop2

    Component.onCompleted: method2()
}