Skip to content

Commit 0db0c48

Browse files
stereotype441Commit Queue
authored andcommitted
[analyzer] Delete unused AnalyzerErrorCodeInfo constructor.
This will make other upcoming changes to diagnostic message codegen easier. Change-Id: I6a6a6964dbae92fa4163a2b4126a7c0a3ff4ab32 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445801 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent 962b2f2 commit 0db0c48

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

pkg/analyzer/tool/messages/error_code_info.dart

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -399,20 +399,6 @@ class AliasErrorCodeInfo extends AnalyzerErrorCodeInfo {
399399
/// In-memory representation of error code information obtained from the
400400
/// analyzer's `messages.yaml` file.
401401
class AnalyzerErrorCodeInfo extends ErrorCodeInfo {
402-
AnalyzerErrorCodeInfo({
403-
super.comment,
404-
super.correctionMessage,
405-
super.deprecatedMessage,
406-
super.documentation,
407-
super.hasPublishedDocs,
408-
super.isUnresolvedIdentifier,
409-
required super.problemMessage,
410-
super.removedIn,
411-
super.sharedName,
412-
}) {
413-
_check();
414-
}
415-
416402
factory AnalyzerErrorCodeInfo.fromYaml(Map<Object?, Object?> yaml) {
417403
if (yaml['aliasFor'] case var aliasFor?) {
418404
return AliasErrorCodeInfo._fromYaml(yaml, aliasFor: aliasFor as String);

0 commit comments

Comments
 (0)