| Index: pkg/compiler/lib/src/resolution/typedefs.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/typedefs.dart b/pkg/compiler/lib/src/resolution/typedefs.dart
|
| index 08d1f6ec8e33ed140fd143dcbcdaa031a92d0c38..90fc2c321b142b88b6e25a20dc40808872955631 100644
|
| --- a/pkg/compiler/lib/src/resolution/typedefs.dart
|
| +++ b/pkg/compiler/lib/src/resolution/typedefs.dart
|
| @@ -69,11 +69,11 @@ class TypedefCyclicVisitor extends BaseDartTypeVisitor {
|
|
|
| TypedefCyclicVisitor(this.reporter, this.element);
|
|
|
| - visitType(DartType type, _) {
|
| + visitType(ResolutionDartType type, _) {
|
| // Do nothing.
|
| }
|
|
|
| - visitTypedefType(TypedefType type, _) {
|
| + visitTypedefType(ResolutionTypedefType type, _) {
|
| TypedefElementX typedefElement = type.element;
|
| if (seenTypedefs.contains(typedefElement)) {
|
| if (!hasCyclicReference && identical(element, typedefElement)) {
|
| @@ -123,15 +123,15 @@ class TypedefCyclicVisitor extends BaseDartTypeVisitor {
|
| }
|
| }
|
|
|
| - visitFunctionType(FunctionType type, _) {
|
| + visitFunctionType(ResolutionFunctionType type, _) {
|
| type.visitChildren(this, null);
|
| }
|
|
|
| - visitInterfaceType(InterfaceType type, _) {
|
| + visitInterfaceType(ResolutionInterfaceType type, _) {
|
| type.visitChildren(this, null);
|
| }
|
|
|
| - visitTypeVariableType(TypeVariableType type, _) {
|
| + visitTypeVariableType(ResolutionTypeVariableType type, _) {
|
| TypeVariableElement typeVariableElement = type.element;
|
| if (seenTypeVariables.contains(typeVariableElement)) {
|
| // Avoid running in cycles on cyclic type variable bounds.
|
|
|