| 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 9fcd6c36a7d89f4dbff97ddc2e7b69bb5fb0ac3b..b7edfbf4c7f271f39092f9912bb82c642bfa7f58 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart_types.dart
|
| @@ -780,6 +780,7 @@ class TypedefType extends GenericType {
|
| DartType unalias(Compiler compiler) {
|
| // TODO(ahe): This should be [ensureResolved].
|
| compiler.resolveTypedef(element);
|
| + element.checkCyclicReference(compiler);
|
| DartType definition = element.alias.unalias(compiler);
|
| TypedefType declaration = element.computeType(compiler);
|
| return definition.subst(typeArguments, declaration.typeArguments);
|
|
|