diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-11-15 16:59:46 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-01-13 16:54:22 +0100 |
commit | 01b865411d945960cb00b51a0078549eb3dd38e8 (patch) | |
tree | 85695e53c11322ac34d50111c1a9b89fc311acad /tests/auto/qml/qmllint/data/goodTypeAssertion.qml | |
parent | 2677de3c79de984e88e4a950c915b4f3f54786dd (diff) |
qmllint: parse simple type assertions
Change-Id: Ic24018137d8f989686d4a8f927efb824453d114b
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/goodTypeAssertion.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/goodTypeAssertion.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/goodTypeAssertion.qml b/tests/auto/qml/qmllint/data/goodTypeAssertion.qml new file mode 100644 index 0000000000..6f5f52eb6b --- /dev/null +++ b/tests/auto/qml/qmllint/data/goodTypeAssertion.qml @@ -0,0 +1,6 @@ +import QtQuick 2.0 + +Item { + property QtObject foo: Item { x: 4 } + property real foox: (foo as Item).x +} |