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

Unified Diff: lib/src/testing.dart

Issue 988743003: Make inference defaults consts for easy tweaking (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rename per new style on constants 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') | no next file » | 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 980bfbc958bd71d81fefccc95115d2842b5653d9..bd1a328f78da0b18011afd47579c72a4323f5413 100644
--- a/lib/src/testing.dart
+++ b/lib/src/testing.dart
@@ -50,8 +50,9 @@ import 'package:dev_compiler/devc.dart' show Compiler;
CheckerResults testChecker(Map<String, String> testFiles,
{bool allowConstCasts: true, String sdkDir, CheckerReporter reporter,
covariantGenerics: true, relaxedCasts: true,
- inferFromOverrides: ResolverOptions.INFER_FROM_OVERRIDES_DEFAULT,
- inferStaticsFromIdentifiers: false, inferInNonStableOrder: false,
+ inferFromOverrides: ResolverOptions.inferFromOverridesDefault,
+ inferStaticsFromIdentifiers: ResolverOptions.inferStaticsFromIdentifiersDefault,
+ inferInNonStableOrder: ResolverOptions.inferInNonStableOrderDefault,
nonnullableTypes: TypeOptions.NONNULLABLE_TYPES}) {
expect(testFiles.containsKey('/main.dart'), isTrue,
reason: '`/main.dart` is missing in testFiles');
« no previous file with comments | « lib/src/options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698