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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 96873002: Fix ElementVisitor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/elements/elements.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
index d1df2901056a2f0d85675eefc7d3cb9b7f262760..f242bb84117f893e5e4de27894b5917d4a336312 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
@@ -260,7 +260,7 @@ abstract class Element implements Spannable {
void diagnose(Element context, DiagnosticListener listener);
- accept(ElementVisitor visitor) => visitor.visitElement(this);
+ accept(ElementVisitor visitor);
}
class Elements {
@@ -994,3 +994,5 @@ abstract class MetadataAnnotation implements Spannable {
MetadataAnnotation ensureResolved(Compiler compiler);
}
+
+abstract class VoidElement extends Element {}

Powered by Google App Engine
This is Rietveld 408576698