| Index: packages/dart_style/lib/src/rule/combinator.dart
|
| diff --git a/packages/dart_style/lib/src/rule/combinator.dart b/packages/dart_style/lib/src/rule/combinator.dart
|
| index 62ddfdb3981f31691e5731a889d706474e495778..1d73031006b7ceb05632317a8d8a1cde0966b724 100644
|
| --- a/packages/dart_style/lib/src/rule/combinator.dart
|
| +++ b/packages/dart_style/lib/src/rule/combinator.dart
|
| @@ -80,12 +80,8 @@ class CombinatorRule extends Rule {
|
| _names.last.add(chunk);
|
| }
|
|
|
| - bool isSplit(int value, Chunk chunk) {
|
| + bool isSplitAtValue(int value, Chunk chunk) {
|
| switch (value) {
|
| - case 0:
|
| - // Don't split at all.
|
| - return false;
|
| -
|
| case 1:
|
| // Just split at the combinators.
|
| return _combinators.contains(chunk);
|
| @@ -106,11 +102,9 @@ class CombinatorRule extends Rule {
|
| // Split everything.
|
| return true;
|
|
|
| - case 4:
|
| + default:
|
| return true;
|
| }
|
| -
|
| - throw "unreachable";
|
| }
|
|
|
| /// Returns `true` if [chunk] is for a combinator or a name in the
|
|
|