Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2964)

Unified Diff: dart/pkg/compiler/lib/src/elements/modelx.dart

Issue 701133003: Implement removal of overridden instance methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r41632 Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dart/pkg/compiler/lib/src/elements/modelx.dart
diff --git a/dart/pkg/compiler/lib/src/elements/modelx.dart b/dart/pkg/compiler/lib/src/elements/modelx.dart
index d435f4aa9c96e0acd7784ba785f71ee035330c3b..aa63ae95684ed2a564d8c13ccd017ebda613fce8 100644
--- a/dart/pkg/compiler/lib/src/elements/modelx.dart
+++ b/dart/pkg/compiler/lib/src/elements/modelx.dart
@@ -267,6 +267,10 @@ abstract class ElementX extends Element {
}
DeclarationSite get declarationSite => null;
+
+ void reuseElement() {
+ throw "reuseElement isn't implemented on ${runtimeType}.";
+ }
}
class ErroneousElementX extends ElementX implements ErroneousElement {

Powered by Google App Engine
This is Rietveld 408576698