| 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 c700d5924fe2a0ed6950bdf43548d8307920e0ba..b7ca332ea94834946cfe4ec6a03cac297869bd86 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
|
| @@ -37,10 +37,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(
|
|
|