Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5, 6.7.1
-
-
c3a0c8ccc (dev), c53e1ff4d (6.8), a1068ca22 (6.7), 52b90c32c (tqtc/lts-6.5)
Description
Formatting qml code containing an enum with qmlformat removes enum values, as shown below.
//Before qmlformat code :
Rectangle{
enum AxisAlignment{
Bottom = 0,
Left = 1,
Right = 2
}
}
//After qml format code
Rectangle {
enum AxisAlignment {
Bottom,
Left,
Right
}
}