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

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

Issue 1155633002: Fix 56 hints in pkg/compiler (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/dart2js.dart
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart
index 5469e39dc07d37632abcb02073fed8a9ac40c342..a7d02be97507925264ae24b94f306c4ae93c95bc 100644
--- a/pkg/compiler/lib/src/dart2js.dart
+++ b/pkg/compiler/lib/src/dart2js.dart
@@ -117,7 +117,6 @@ Future<api.CompilationResult> compile(List<String> argv) {
bool dumpInfo = false;
bool allowNativeExtensions = false;
bool trustTypeAnnotations = false;
- bool trustPrimitives = false;
bool checkedMode = false;
// List of provided options that imply that output is expected.
List<String> optionsImplyCompilation = <String>[];
@@ -218,7 +217,6 @@ Future<api.CompilationResult> compile(List<String> argv) {
}
setTrustPrimitives(String argument) {
- trustPrimitives = true;
implyCompilation(argument);
}
@@ -625,7 +623,7 @@ be removed in a future version:
Generates an out.info.json file with information about the generated code.
You can inspect the generated file with the viewer at:
https://dart-lang.github.io/dump-info-visualizer/
- This feature is currently not supported in combination with the
+ This feature is currently not supported in combination with the
'--output-type=dart' option.
--generate-code-with-compile-time-errors

Powered by Google App Engine
This is Rietveld 408576698