blob: 9ecc503faccc2d155771cee545742889ce124d10 [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,
},
);