aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/destructuringFunctionParameter.formatted.qml
blob: 0bfcc581797b5dbc29febff219c23ea6dd0817f1 (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
import QtQml

QtObject {

    function evil({
        hello = "world",
        x = 42
    }, [n = 42, m = 43, o = 44], {
        destructuring,
        is = {
            a,
            lot,
            of
        },
        fun = 42
    } = {
        destructuring: 123,
        is: {
            x: 123
        },
        fun: 456
    }) {
    }
}