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

Unified Diff: lib/src/testing.dart

Issue 1165303002: remove covariant generics option (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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 60da120aca3274394108488e17d4cbd97cdbda13..a5ae8b04ae6012215c036a3fcc3741eccf6d664b 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -48,8 +48,7 @@ import 'utils.dart';
///
CheckerResults testChecker(Map<String, String> testFiles, {String sdkDir,
customUrlMappings: const {},
- CheckerReporter createReporter(AnalysisContext context),
- covariantGenerics: true, relaxedCasts: true,
+ CheckerReporter createReporter(AnalysisContext context), relaxedCasts: true,
inferDownwards: RulesOptions.inferDownwardsDefault,
inferFromOverrides: ResolverOptions.inferFromOverridesDefault,
inferTransitively: ResolverOptions.inferTransitivelyDefault,
@@ -61,7 +60,6 @@ CheckerResults testChecker(Map<String, String> testFiles, {String sdkDir,
var uriResolver = new TestUriResolver(provider);
var options = new CompilerOptions(
- covariantGenerics: covariantGenerics,
relaxedCasts: relaxedCasts,
inferDownwards: inferDownwards,
inferFromOverrides: inferFromOverrides,
« 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