| 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) {
|
|
|