| Index: packages/dart_style/lib/src/rule/type_argument.dart
|
| diff --git a/packages/dart_style/lib/src/rule/type_argument.dart b/packages/dart_style/lib/src/rule/type_argument.dart
|
| index ebac6c8a7b5422f3df405dd905fb604f1d950aec..8fcc11717cb8adc93b3fd6999dcbb96cc653b776 100644
|
| --- a/packages/dart_style/lib/src/rule/type_argument.dart
|
| +++ b/packages/dart_style/lib/src/rule/type_argument.dart
|
| @@ -43,7 +43,7 @@ class TypeArgumentRule extends Rule {
|
|
|
| bool isSplit(int value, Chunk chunk) {
|
| // Don't split at all.
|
| - if (value == 0) return false;
|
| + if (value == Rule.unsplit) return false;
|
|
|
| // Split before every argument.
|
| if (value == numValues - 1) return true;
|
| @@ -52,4 +52,6 @@ class TypeArgumentRule extends Rule {
|
| // to try to keep as much on the first line as possible.
|
| return chunk == _arguments[_arguments.length - value];
|
| }
|
| +
|
| + String toString() => "TypeArg${super.toString()}";
|
| }
|
|
|