Skip to content

Commit fc122fc

Browse files
authored
Import package:analyzer/source/source.dart instead of internal. (#714)
* Import package:analyzer/source/source.dart instead of internal. * Require analyzer: '>=6.4.0 <7.0.0'
1 parent c3ce8a4 commit fc122fc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

source_gen/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
`GeneratorForAnnotation.generateForAnnotatedElement`.
55
- Support all the glob quotes.
66
- Require Dart 3.4.0
7+
- Require `analyzer: '>=6.4.0 <7.0.0'`
78

89
## 1.5.0
910

source_gen/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
sdk: ^3.4.0
99

1010
dependencies:
11-
analyzer: '>=5.2.0 <7.0.0'
11+
analyzer: '>=6.4.0 <7.0.0'
1212
async: ^2.5.0
1313
build: ^2.1.0
1414
dart_style: ^2.0.0

source_gen/test/library/path_to_url_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Increase timeouts on this test which resolves source code and can be slow.
66
import 'package:analyzer/dart/element/element.dart';
7-
import 'package:analyzer/src/generated/source.dart';
7+
import 'package:analyzer/source/source.dart';
88
import 'package:source_gen/source_gen.dart';
99
import 'package:test/test.dart';
1010

0 commit comments

Comments
 (0)