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

Unified Diff: lib/src/testing.dart

Issue 1038213003: Downward inference (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Rebase Created 5 years, 9 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 a1a417ffa29fa47ee0ba0b4c5a03a66e8a49990f..f757930e5ccc6dd937206f1aa3813fa7fba5de44 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -52,6 +52,7 @@ import 'dependency_graph.dart' show runtimeFilesForServerMode;
CheckerResults testChecker(Map<String, String> testFiles,
{bool allowConstCasts: true, String sdkDir, CheckerReporter reporter,
covariantGenerics: true, relaxedCasts: true,
+ inferDownwards: RulesOptions.inferDownwardsDefault,
inferFromOverrides: ResolverOptions.inferFromOverridesDefault,
inferTransitively: ResolverOptions.inferTransitivelyDefault,
nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}) {
@@ -64,6 +65,7 @@ CheckerResults testChecker(Map<String, String> testFiles,
allowConstCasts: allowConstCasts,
covariantGenerics: covariantGenerics,
relaxedCasts: relaxedCasts,
+ inferDownwards: inferDownwards,
inferFromOverrides: inferFromOverrides,
inferTransitively: inferTransitively,
nonnullableTypes: nonnullableTypes,
« 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