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

Unified Diff: pkg/analyzer/lib/error/error.dart

Issue 2618923003: Update 'Add final field formal parameters' Quick Fix to support the new analysis driver. (Closed)
Patch Set: Created 3 years, 11 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
Index: pkg/analyzer/lib/error/error.dart
diff --git a/pkg/analyzer/lib/error/error.dart b/pkg/analyzer/lib/error/error.dart
index 07ebae2a5c713934d80bc43c65485b5b4e57ee41..f1917aad1ea058ef6ed0582533b559f58fa920ff 100644
--- a/pkg/analyzer/lib/error/error.dart
+++ b/pkg/analyzer/lib/error/error.dart
@@ -6,13 +6,12 @@ library analyzer.error.error;
import 'dart:collection';
-import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/error/listener.dart';
import 'package:analyzer/src/dart/scanner/scanner.dart' show ScannerErrorCode;
import 'package:analyzer/src/error/codes.dart';
-import 'package:analyzer/src/generated/resolver.dart' show ResolverErrorCode;
import 'package:analyzer/src/generated/java_core.dart';
import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode;
+import 'package:analyzer/src/generated/resolver.dart' show ResolverErrorCode;
import 'package:analyzer/src/generated/source.dart';
import 'package:front_end/src/base/errors.dart';
import 'package:front_end/src/scanner/errors.dart';
@@ -862,13 +861,6 @@ class AnalysisErrorWithProperties extends AnalysisError {
*/
class ErrorProperty<V> implements Comparable<ErrorProperty> {
/**
- * A property whose value is a list of [FieldElement]s that are final, but
- * not initialized by a constructor.
- */
- static const ErrorProperty<List<FieldElement>> NOT_INITIALIZED_FIELDS =
- const ErrorProperty<List<FieldElement>>('NOT_INITIALIZED_FIELDS', 0);
-
- /**
* A property whose value is the name of the library that is used by all
* of the "part of" directives, so should be used in the "library" directive.
* Is `null` if there is no a single name used by all of the parts.
@@ -877,7 +869,6 @@ class ErrorProperty<V> implements Comparable<ErrorProperty> {
const ErrorProperty<String>('PARTS_LIBRARY_NAME', 1);
static const List<ErrorProperty> values = const [
- NOT_INITIALIZED_FIELDS,
PARTS_LIBRARY_NAME,
];
« no previous file with comments | « pkg/analysis_server/test/services/correction/fix_test.dart ('k') | pkg/analyzer/lib/src/generated/error_verifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698