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

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

Issue 1502213002: Remove deprecated code (Closed) Base URL: https://github.com/dart-lang/sdk.git@analyzer-breaking-0.27
Patch Set: Created 5 years 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/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/error.dart
diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
index 61a6c75beeece4ec4e26e2a2cc0fd966dbdd8793..a057fe60b49dc6a8a855a647d007a3f7512f1577 100644
--- a/pkg/analyzer/lib/src/generated/error.dart
+++ b/pkg/analyzer/lib/src/generated/error.dart
@@ -124,27 +124,6 @@ class AnalysisError {
}
/**
- * Initialize a newly created analysis error for the specified [source]. The
- * error will have the given [errorCode] and the list of [arguments] will be
- * used to complete the message. The error has no location information.
- */
- @deprecated // Use new AnalysisError(source, 0, 0, errorCode, arguments)
- AnalysisError.con1(Source source, ErrorCode errorCode,
- [List<Object> arguments])
- : this(source, 0, 0, errorCode, arguments);
-
- /**
- * Initialize a newly created analysis error for the specified [source] at the
- * given [offset] with the given [length]. The error will have the given
- * [errorCode] and the list of [arguments] will be used to complete the
- * message.
- */
- @deprecated // Use new AnalysisError(source, offset, length, errorCode, arguments)
- AnalysisError.con2(Source source, int offset, int length, ErrorCode errorCode,
- [List<Object> arguments])
- : this(source, offset, length, errorCode, arguments);
-
- /**
* Return the template used to create the correction to be displayed for this
* error, or `null` if there is no correction information for this error. The
* correction should indicate how the user can fix the error.
@@ -278,28 +257,6 @@ class AnalysisErrorWithProperties extends AnalysisError {
[List<Object> arguments])
: super(source, offset, length, errorCode, arguments);
- /**
- * Initialize a newly created analysis error for the specified [source]. The
- * error will have the given [errorCode] and the list of [arguments] will be
- * used to complete the message. The error has no location information.
- */
- @deprecated // Use new AnalysisErrorWithProperties(source, 0, 0, errorCode, arguments)
- AnalysisErrorWithProperties.con1(Source source, ErrorCode errorCode,
- [List<Object> arguments])
- : this(source, 0, 0, errorCode, arguments);
-
- /**
- * Initialize a newly created analysis error for the specified [source] at the
- * given [offset] with the given [length]. The error will have the given
- * [errorCode] and the list of [arguments] will be used to complete the
- * message.
- */
- @deprecated // Use new AnalysisErrorWithProperties(source, offset, length, errorCode, arguments)
- AnalysisErrorWithProperties.con2(
- Source source, int offset, int length, ErrorCode errorCode,
- [List<Object> arguments])
- : this(source, offset, length, errorCode, arguments);
-
@override
Object getProperty(ErrorProperty property) => _propertyMap[property];
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698