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

Unified Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 1173403002: dart2js: Fix hints in code base. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Updated to latest revision Created 5 years, 6 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: 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,

Powered by Google App Engine
This is Rietveld 408576698