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

Unified Diff: pkg/analyzer/test/src/task/strong/strong_test_helper.dart

Issue 1402813005: move strong mode hints behind flag (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « pkg/analyzer/test/src/task/dart_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/strong/strong_test_helper.dart
diff --git a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
index e9b54974273f3d1e2e5d07956a5ea380ca7da9b9..330801f07f1f3f92c7a761a9ab9b4f7683810665 100644
--- a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
+++ b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
@@ -75,8 +75,9 @@ void testChecker(String name, Map<String, String> testFiles) {
context.resolveCompilationUnit2(mainSource, mainSource);
var collector = new _ErrorCollector();
- var checker =
- new CodeChecker(new TypeRules(context.typeProvider), collector);
+ var checker = new CodeChecker(
+ new TypeRules(context.typeProvider), collector,
+ hints: true);
// Extract expectations from the comments in the test files, and
// check that all errors we emit are included in the expected map.
« no previous file with comments | « pkg/analyzer/test/src/task/dart_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698