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

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: Fix constructor name bug. Created 7 years, 8 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 830fddf27d7be635f11c09feab8da0654a7710cd..5f74a4cf624c5faa3b6dc93c948d6d8d570a7344 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -555,18 +555,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