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
[analyzer] InconsistentAnalysisException: Requested result might be inconsistent with previously returned results #48658
Comments
We are facing this too. A workaround is to specifically set analyzer as dependency_overrides:
analyzer: 3.3.1 |
This looks related to analyzer 3.4.0, we need to figure out what the best resolution would be. cc @scheglov would it be reasonable to roll this back in a 3.4.1 release in the meantime? I think most projects are broken, lots of reports. |
Yep. That is my solution. But I hate workaround |
I don't use I will revert the check for consistency after operations, and leave it to be only directly before one. This helps |
|
Bug: #48658 Change-Id: I1d3d531cf3550a657a1cdd9d7a29467e4c92df0f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/238620 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Probably fixed, at least for |
Thanks for the quick fix! 🌹 |
Many thanks. works well from my side |
I can confirm that it works for |
analyzer
Meet this issue after upgrading to 3.4.0build_runner
works well with the old one 3.3.1What I am using is
freezed
. This a popular package based on code generation.The text was updated successfully, but these errors were encountered: