-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mockito only supports analyzer >=5.12.0, but pubspec specifies >=5.11.0 #656
Comments
rrousselGit
added a commit
to rrousselGit/mockito
that referenced
this issue
Jun 16, 2023
This was referenced Jun 16, 2023
Closed
Il have same bug with mockito 5.4.2 and analyzer 5.12
it seems to be only compatible with analyzer >=5.13.0 |
Thanks for reporting. I wonder why CI didn't catch it. I guess it never tries to Probably we should add it.. |
copybara-service bot
pushed a commit
that referenced
this issue
Jun 30, 2023
There was a recent change that added usage of the new `InvalidType` to Mockito codegen, but it only appears in analyzer 5.12. Fixes #656 PiperOrigin-RevId: 544601698
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, mockito relies on
analyzer.InvalidType
, which was introduced as part of 5.12.0.As such, it is currently incompatible with analyzer 5.11.0, yet the pubspec says otherwise.
This causes
dart pub downgrade
to possibly resolve with analyzer 5.11.0, which would fail to compile.The text was updated successfully, but these errors were encountered: