Index: pkg/analyzer2dart/lib/src/modely.dart |
diff --git a/pkg/analyzer2dart/lib/src/modely.dart b/pkg/analyzer2dart/lib/src/modely.dart |
index 6cc1f50efce01a96e4754b4ec7d556e80c3138cc..4e0a804aeaaf47c1a4827f5119e9ccd0237d098e 100644 |
--- a/pkg/analyzer2dart/lib/src/modely.dart |
+++ b/pkg/analyzer2dart/lib/src/modely.dart |
@@ -340,6 +340,9 @@ abstract class TopLevelElementMixin implements ElementY { |
// TODO(johnniwinther): Ensure the correct semantics of this. |
@override |
bool get isAbstract => false; |
+ |
+ @override |
+ dart2js.ClassElement get enclosingClass => null; |
} |
abstract class FunctionElementMixin |