Index: tests/try/poi/forget_element_test.dart |
diff --git a/tests/try/poi/forget_element_test.dart b/tests/try/poi/forget_element_test.dart |
index e85067adb242144c4aae6be95438af72b029e380..e1ebd3ba50ad57399b440bb2b49afde34f03d7a3 100644 |
--- a/tests/try/poi/forget_element_test.dart |
+++ b/tests/try/poi/forget_element_test.dart |
@@ -198,7 +198,7 @@ class ForgetElementTestCase extends CompilerTestCase { |
}); |
List<MetadataAnnotation> metadata = |
- (new MetadataCollector()..visit(library)).metadata; |
+ (new MetadataCollector()..visit(library, null)).metadata; |
return collector.nodes; |
} |
@@ -282,16 +282,16 @@ class NodeCollector extends tree.Visitor { |
class MetadataCollector extends ElementVisitor { |
final List<MetadataAnnotation> metadata = <MetadataAnnotation>[]; |
- void visitElement(Element e) { |
+ void visitElement(Element e, _) { |
metadata.addAll(e.metadata.toList()); |
} |
- void visitScopeContainerElement(ScopeContainerElement e) { |
+ void visitScopeContainerElement(ScopeContainerElement e, _) { |
super.visitScopeContainerElement(e); |
e.forEachLocalMember(this.visit); |
} |
- void visitFunctionElement(FunctionElement e) { |
+ void visitFunctionElement(FunctionElement e, _) { |
super.visitFunctionElement(e); |
if (e.hasFunctionSignature) { |
e.functionSignature.forEachParameter(this.visit); |