| Index: pkg/compiler/lib/src/ordered_typeset.dart
|
| diff --git a/pkg/compiler/lib/src/ordered_typeset.dart b/pkg/compiler/lib/src/ordered_typeset.dart
|
| index 4a82ac7345906dd36d2950c6ee6db1b9d6bd33da..829a2d9a958d54334e950955cd4c348e0ddec5e7 100644
|
| --- a/pkg/compiler/lib/src/ordered_typeset.dart
|
| +++ b/pkg/compiler/lib/src/ordered_typeset.dart
|
| @@ -286,9 +286,9 @@ abstract class OrderedTypeSetBuilderBase implements OrderedTypeSetBuilder {
|
| for (int depth = 0; depth <= maxDepth; depth++) {
|
| sb.write('$depth: ');
|
| LinkEntry<InterfaceType> first = map[depth];
|
| - if (first != null) {
|
| + if (first.isNotEmpty) {
|
| sb.write('${first.head}');
|
| - while (first.tail != null) {
|
| + while (first.tail.isNotEmpty) {
|
| sb.write(', ${first.tail.head}');
|
| first = first.tail;
|
| }
|
|
|