Skip to content

Commit 581a55d

Browse files
scheglovCommit Queue
authored andcommitted
Linter. Export separately Source and LineInfo instead of deprecated re-export from package:analyzer/src/generated/source.dart
Change-Id: I197d5458a1a6ca8a6a04ba29765c9d8a4de5f14e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/391040 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Phil Quitslund <[email protected]>
1 parent ef513f8 commit 581a55d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/linter/lib/src/analyzer.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ import 'package:analyzer/src/lint/registry.dart';
99
import 'package:analyzer/src/lint/util.dart' as util;
1010

1111
export 'package:analyzer/dart/element/type_system.dart';
12+
export 'package:analyzer/source/line_info.dart';
13+
export 'package:analyzer/source/source.dart';
1214
export 'package:analyzer/src/dart/ast/token.dart';
1315
export 'package:analyzer/src/dart/element/inheritance_manager3.dart'
1416
show InheritanceManager3, Name;
1517
export 'package:analyzer/src/dart/error/lint_codes.dart';
1618
export 'package:analyzer/src/dart/resolver/exit_detector.dart';
1719
export 'package:analyzer/src/generated/engine.dart' show AnalysisErrorInfo;
18-
export 'package:analyzer/src/generated/source.dart' show LineInfo, Source;
1920
export 'package:analyzer/src/lint/lint_rule_timers.dart';
2021
export 'package:analyzer/src/lint/linter.dart'
2122
show

0 commit comments

Comments
 (0)