aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/language/testdata/erroneous/frozen-object.qbs
blob: 0f891d04b11390c9e57401327c8f835676e6b6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Product {
    Probe {
        id: probe
        property var output
        configure: {
            output = {"key": "value"}
            found = true
        }
    }

    property var test: {
        "use strict"
        var result = probe.output;
        result.key = "newValue";
        return result;
    }
}