Index: dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart b/dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
index 6fa7cc280edec3005149cc23e824922cb5ab73e7..865fbdcfd91edf72c4845b200f772653c7c5c6eb 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart |
@@ -2170,13 +2170,15 @@ class NodeListener extends ElementListener { |
} |
} |
-abstract class PartialElement { |
+abstract class PartialElement implements DeclarationSite { |
Token beginToken; |
Token endToken; |
bool hasParseError = false; |
bool get isErroneous => hasParseError; |
+ |
+ DeclarationSite get declarationSite => this; |
} |
abstract class PartialFunctionMixin implements FunctionElement { |