| 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 d8487c954a3ad678db04f13d656ad3ab57b28f78..3fa59e5f24802914dba84a955e14aaaa1a8cb6b0 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);
|
|
|