| Index: sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| index 796fb92fe5325ac452fc2f7412613d8bd882b602..6125eea47fa4772fda26e2f76052b5e29cbbde9f 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| @@ -31,10 +31,8 @@ class EnqueueTask extends CompilerTask {
|
| ClassElement cls = element;
|
| cls.ensureResolved(compiler);
|
| container = cls;
|
| - for (var link = cls.computeTypeParameters(compiler);
|
| - !link.isEmpty;
|
| - link = link.tail) {
|
| - addMemberByName(link.head.element);
|
| + for (DartType parameter in cls.computeTypeParameters(compiler)) {
|
| + addMemberByName(parameter.element);
|
| }
|
| }
|
| allElementsByName[name] = allElementsByName.putIfAbsent(
|
|
|