blob: 0fc2c1c282d6d36ffea77accb85fdaff4f9ed1b2 [file] [log] [blame]
40 columns |
>>> do not split after "("
doSomethingWithFn((argument) => functionBodyTooLong());
<<<
doSomethingWithFn((argument) =>
functionBodyTooLong());
>>> newline before fn expression should not force => to split
{
() => one;
() => two;
}
<<<
{
() => one;
() => two;
}
>>> indent entire block body
SomeLongFunctionName(
(longParameterName______) =>
<LongTypeArgument>[
longListElement,
],
);
<<<
SomeLongFunctionName(
(longParameterName______) =>
<LongTypeArgument>[
longListElement,
],
);
>>>
SomeLongFunctionName(
(longParameterName______) =>
switch (value) {
constant => body,
},
);
<<<
SomeLongFunctionName(
(longParameterName______) =>
switch (value) {
constant => body,
},
);