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

Unified Diff: pkg/analyzer/test/generated/compile_time_error_code_test.dart

Issue 1239513005: Switch on null-aware operators by default in analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/lib/src/task/dart.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/compile_time_error_code_test.dart
diff --git a/pkg/analyzer/test/generated/compile_time_error_code_test.dart b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
index e2124442a74b33fcd254e9f4a658ca49ac233549..d941fcfb09f93e7f48b2e936a0f0d3c02b3608dd 100644
--- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart
+++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart
@@ -4757,9 +4757,6 @@ f() {
}
void test_prefix_conditionalPropertyAccess_call() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
g() {}
@@ -4777,9 +4774,6 @@ f() {
}
void test_prefix_conditionalPropertyAccess_call_loadLibrary() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
''');
@@ -4796,9 +4790,6 @@ f() {
}
void test_prefix_conditionalPropertyAccess_get() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
var x;
@@ -4816,9 +4807,6 @@ f() {
}
void test_prefix_conditionalPropertyAccess_get_loadLibrary() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
''');
@@ -4835,9 +4823,6 @@ f() {
}
void test_prefix_conditionalPropertyAccess_set() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
var x;
@@ -4855,9 +4840,6 @@ f() {
}
void test_prefix_conditionalPropertyAccess_set_loadLibrary() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
''');
@@ -4988,9 +4970,6 @@ f() {
}
void test_prefixNotFollowedByDot_conditionalMethodInvocation() {
- AnalysisOptionsImpl options = new AnalysisOptionsImpl();
- options.enableNullAwareOperators = true;
- resetWithOptions(options);
addNamedSource('/lib.dart', '''
library lib;
g() {}
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698