Skip to content

Commit

Permalink
Import package:analyzer/source/source.dart instead of internal. (#714)
Browse files Browse the repository at this point in the history
* Import package:analyzer/source/source.dart instead of internal.

* Require analyzer: '>=6.4.0 <7.0.0'
  • Loading branch information
scheglov authored Jun 5, 2024
1 parent c3ce8a4 commit fc122fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions source_gen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
`GeneratorForAnnotation.generateForAnnotatedElement`.
- Support all the glob quotes.
- Require Dart 3.4.0
- Require `analyzer: '>=6.4.0 <7.0.0'`

## 1.5.0

Expand Down
2 changes: 1 addition & 1 deletion source_gen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
sdk: ^3.4.0

dependencies:
analyzer: '>=5.2.0 <7.0.0'
analyzer: '>=6.4.0 <7.0.0'
async: ^2.5.0
build: ^2.1.0
dart_style: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion source_gen/test/library/path_to_url_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Increase timeouts on this test which resolves source code and can be slow.
import 'package:analyzer/dart/element/element.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/source/source.dart';
import 'package:source_gen/source_gen.dart';
import 'package:test/test.dart';

Expand Down

0 comments on commit fc122fc

Please sign in to comment.