Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0 Alpha
-
8ab467835cdf590bcbc3a4d520f0e44dc8b457d9 (qt/qtdeclarative/5.15)
Description
Running qmlformat on the attached main.qml, and running it again on the formatted file creates a different output in the second pass:
$ diff qmlformat_1st_pass.qml qmlformat_2st_pass.qml
8d7
< id: root
12a12,13
> id: root
>
18c19
< return true;
—
> return true
The output from the second pass it stable and won't be reformated in any further passes.
Attachments
For Gerrit Dashboard: QTBUG-82261 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
294522,4 | qmlformat: Fix inconsistent if statements | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |