DescriptionBetter handling for binary operators in => bodies.
Treat them specially in two ways:
- Don't increase the expression nesting.
- Force the => to split if the body does.
This has the nice effect of lining up all operands, even the first:
function() =>
expression ||
expression ||
expression;
Fix #434.
R=kevmoo@google.com
Committed: https://github.com/dart-lang/dart_style/commit/43d8304170821966f2ca8bc27cc4bb7f6c31e2bd
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|