aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmldom/domdata/reformatter/requiredReformatted2.qml
blob: 74732836058b3cb7046d1a054998521c52a9ce1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.15

Item {
    id: theFoo

    required data
    required property Item theItem

    function foo() {
        theItem.foo("The issue is exacerbated if the object literal is wrapped onto the next line like so:", {
            "foo": theFoo
        });
    }
}