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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 14907008: Remove support for interface in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 7 months 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/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 2c5e9fa6c6d5b5b2a796e44ac7ac4823c40e1768..26b930d5f3143416bdfba346b0b9d3df4dcfa6c1 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -557,18 +557,6 @@ class ReferencedElementCollector extends Visitor {
: this.rootElement = (rootElement is VariableElement)
? (rootElement as VariableElement).variables : rootElement;
- visitClassNode(ClassNode node) {
- super.visitClassNode(node);
- // Temporary hack which should go away once interfaces
- // and default clauses are out.
- if (node.defaultClause != null) {
- // Resolver cannot resolve parameterized default clauses.
- TypeAnnotation evilCousine = new TypeAnnotation(
- node.defaultClause.typeName, null);
- evilCousine.accept(this);
- }
- }
-
visitNode(Node node) { node.visitChildren(this); }
visitTypeAnnotation(TypeAnnotation typeAnnotation) {

Powered by Google App Engine
This is Rietveld 408576698