Details
Description
This example compiles and runs fine:
import QtQuick
Item {
Component.onCompleted: { ([]) => {} }
}
But causes this error when run through `qmlformat`:
4:28: [Dom][QmlFile][Parsing] Error: Expected token `,' for .currentItem
Attachments
For Gerrit Dashboard: QTBUG-111511 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
464378,2 | tst_format: Verify that object destructuring is handled, too | dev | qt/qtdeclarative | Status: NEW | -1 | 0 |