| 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 f4ee00c4b978e1839a4aab63d3a1126659b6bac5..6fc98bcbc05e8c0154ed1ae38051a0856d4fccff 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(
|
|
|