Index: pkg/compiler/lib/src/use_unused_api.dart |
diff --git a/pkg/compiler/lib/src/use_unused_api.dart b/pkg/compiler/lib/src/use_unused_api.dart |
index 998b39bfac46f4f39d6a0baddfd58f63d27d031f..f76227008573ff767d2fb85e65ed3252dae46759 100644 |
--- a/pkg/compiler/lib/src/use_unused_api.dart |
+++ b/pkg/compiler/lib/src/use_unused_api.dart |
@@ -48,7 +48,7 @@ class ElementVisitor extends elements_visitor.BaseElementVisitor { |
} |
void main(List<String> arguments) { |
- useApi(); |
+ useApi(null); |
dart2js.main(arguments); |
dart2jslib.isPublicName(null); |
useConstant(null, null, null, null, null); |
@@ -79,10 +79,11 @@ void main(List<String> arguments) { |
useTreeVisitors(); |
} |
-useApi() { |
- api.ReadStringFromUri uri; |
+useApi(api.ReadStringFromUri uri) { |
} |
+ |
karlklose
2015/06/11 10:56:16
Revert.
herhut
2015/06/11 12:48:55
Done.
|
+ |
void useConstant(constants.ConstantValue constant, |
constants.ConstantExpression expression, |
constants.ConstructedConstantExpression constructedConstant, |