aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/destructuringFunctionParameter.qml
blob: f41661ed67489dab8dc45eab63a7f1c5fd742c41 (plain)
1
2
3
4
5
6
7
8
9
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}) {
    }
}