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

Unified Diff: lib/src/testing.dart

Issue 1166163002: remove unused allowConstCast option (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: format 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
« no previous file with comments | « lib/src/options.dart ('k') | test/checker/checker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/testing.dart
diff --git a/lib/src/testing.dart b/lib/src/testing.dart
index ae87c064551ae51aa11abf6a20f7e2e48e5f1fa0..f34c063689fbfdc1b6e46a2d9027871ba52ef76b 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -46,8 +46,8 @@ import 'utils.dart';
/// '''
/// });
///
-CheckerResults testChecker(Map<String, String> testFiles,
- {bool allowConstCasts: true, String sdkDir, customUrlMappings: const {},
+CheckerResults testChecker(Map<String, String> testFiles, {String sdkDir,
+ customUrlMappings: const {},
CheckerReporter createReporter(AnalysisContext context),
covariantGenerics: true, relaxedCasts: true,
inferDownwards: RulesOptions.inferDownwardsDefault,
@@ -62,7 +62,6 @@ CheckerResults testChecker(Map<String, String> testFiles,
var uriResolver = new TestUriResolver(provider);
var options = new CompilerOptions(
- allowConstCasts: allowConstCasts,
covariantGenerics: covariantGenerics,
relaxedCasts: relaxedCasts,
inferDownwards: inferDownwards,
« no previous file with comments | « lib/src/options.dart ('k') | test/checker/checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698