File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
_fe_analyzer_shared/lib/src/base Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ typedef ErrorCode = DiagnosticCode;
2020///
2121/// Generally, messages should follow the [Guide for Writing
2222/// Diagnostics](https://github.com/dart-lang/sdk/blob/main/pkg/front_end/lib/src/base/diagnostics.md).
23- ///
24- /// Note that this class name, `ErrorCode` , is soft-deprecated in favor of the
25- /// type alias, `DiagnosticCode` .
2623@AnalyzerPublicApi (message: 'exported by package:analyzer/error/error.dart' )
2724abstract class DiagnosticCode {
2825 /// Regular expression for identifying positional arguments in error messages.
@@ -139,9 +136,6 @@ typedef ErrorSeverity = DiagnosticSeverity;
139136
140137/**
141138 * The severity of an [DiagnosticCode] .
142- *
143- * Note that this class name, `ErrorSeverity` , is soft-deprecated in favor of
144- * the type alias, [DiagnosticSeverity] .
145139 */
146140@AnalyzerPublicApi (message: 'exported by package:analyzer/error/error.dart' )
147141class DiagnosticSeverity implements Comparable <DiagnosticSeverity > {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import 'package:test_reflective_loader/test_reflective_loader.dart';
1515main () {
1616 defineReflectiveSuite (() {
1717 defineReflectiveTests (DartUriResolverTest );
18- defineReflectiveTests (ErrorSeverityTest );
18+ defineReflectiveTests (DiagnosticSeverityTest );
1919 defineReflectiveTests (ResolveRelativeUriTest );
2020 });
2121}
@@ -74,7 +74,7 @@ class DartUriResolverTest extends _SimpleDartSdkTest {
7474}
7575
7676@reflectiveTest
77- class ErrorSeverityTest {
77+ class DiagnosticSeverityTest {
7878 test_max_error_error () async {
7979 expect (
8080 DiagnosticSeverity .ERROR .max (DiagnosticSeverity .ERROR ),
You can’t perform that action at this time.
0 commit comments