Commit a8d1df2c authored by Marco Benelli's avatar Marco Benelli

QmlJs: fixed a regression in reformatter.

The commit b26920c3 introduced a bug
in reformatting properties lacking an object initializer.

Change-Id: I30f9c9c8a005660e7af4a6c97d0b1ff1be461548
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 7c1f8f83
......@@ -554,6 +554,8 @@ protected:
accept(ast->statement);
} else if (ast->binding) {
accept(ast->binding);
} else {
out(ast->identifierToken);
}
} else { // signal
out("signal ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment