Skip to content

Commit 03af042

Browse files
dkrutskikhcommit-bot@chromium.org
authored andcommitted
Support latest analyzer in analyzer_plugin
I've raised the upper constraint for the analyzer to <0.41.0. Closes #43731 #43731 GitOrigin-RevId: a005c48 Change-Id: If6199ef0833d652f3f05bba42bc1592b505500a8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166802 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]>
1 parent 46a712d commit 03af042

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/analyzer_plugin/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Deprecated the method `ChangeBuilder.addFileEdit` and introduced
55
`ChangeBuilder.addDartFileEdit` and `ChangeBuilder.addGenericFileEdit` to be
66
the replacements for it.
7+
- Bump maximum supported version of the analyzer to `<0.41.0`.
78

89
## 0.3.0
910
- Removed deprecated `Plugin.getResolveResult`. Use `getResolvedUnitResult`.

pkg/analyzer_plugin/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
sdk: '>=2.3.0 <3.0.0'
99

1010
dependencies:
11-
analyzer: '^0.39.12'
11+
analyzer: '>=0.39.12 <0.41.0'
1212
charcode: '^1.1.0'
1313
dart_style: '^1.2.0'
1414
pub_semver: '^1.3.2'

0 commit comments

Comments
 (0)