aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/badICAnnotation.qml
blob: 6f0db53f2a26ffe4d97a477f607074e321c1ff9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import QtQml

QtObject {
    id: self

    function doStuff(status: Binding.NotAnInlineComponent) : int {
        return status
    }

    function doStuff2(status: InlineComponentBase.IC) : QtObject {
        return status
    }

    function doStuff3(status: InlineComponentBase.NotIC) : QtObject {
        return status
    }

    property InlineComponentBase.IC ic: InlineComponentBase.IC {}

    property int a: doStuff(5)
    property QtObject b: doStuff2(ic)
    property QtObject c: doStuff3(ic)
    property QtObject d: doStuff2(self)
}