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