forked from qt-creator/qt-creator
QmlJS indenter: Fix indentation for property initializers.
property int foo: {
used to start an object literal but is a block statement now.
Change-Id: I9ffbce4927b444314f1a43aba65ca3d9d234e47c
Reviewed-on: http://codereview.qt-project.org/4339
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -127,7 +127,6 @@ public: // must be public to make Q_GADGET introspection work
|
||||
binding_or_objectdefinition, // after an identifier
|
||||
|
||||
binding_assignment, // after : in a binding
|
||||
property_initializer, // after : in a property
|
||||
objectdefinition_open, // after {
|
||||
|
||||
expression,
|
||||
|
||||
Reference in New Issue
Block a user