blob: 6a5500e34469096d7317b3ab4d86c9e437cb1377 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
pragma ValueTypeBehavior: Addressable
import QtQml
import StaticTest
QtObject {
property var a
property rect b: a as rect
property bool c: a instanceof rect
property bool d: ({x: 10, y: 20}) instanceof point
property var e: ({x: 10, y: 20}) as point
property var f: "red" as withString
property var g: "green" as string
}
|