| Index: sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/dart_types.dart b/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| index 2c30ecbe71377f2b67afd3be0a4e43c16467dfb9..00851ce644447916c1443d312584466cff3c601c 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| @@ -800,8 +800,7 @@ class TypedefType extends GenericType {
|
| }
|
|
|
| DartType unalias(Compiler compiler) {
|
| - // TODO(ahe): This should be [ensureResolved].
|
| - compiler.resolveTypedef(element);
|
| + element.ensureResolved(compiler);
|
| element.checkCyclicReference(compiler);
|
| DartType definition = element.alias.unalias(compiler);
|
| return definition.substByContext(this);
|
|
|