Closed
Description
The new formatter (#1253) changed the formatting of record typedef
s, adding quite a bit of indentation:
Old formatter:
typedef ExampleRecordTypedef = (
String firstParameter,
int secondParameter,
String thirdParameter,
String fourthParameter,
);
New formatter:
typedef ExampleRecordTypedef =
(
String firstParameter,
int secondParameter,
String thirdParameter,
String fourthParameter,
);
This style seems a net positive to me in many circumstances, but specifically for records I see it mostly as a downgrade (unnecessary indentation and code churn), and I'd like to propose to special-case it.
This is similar in style to #1545/#1634, but for a completely different part of the syntax, so I figured it should be filed separately.