Repository navigation
fix(mix_generator): support analyzer 14 - #1087
Merged
Merged
Conversation
definev
force-pushed
the
fix/mix-generator-analyzer-14
branch
from
October 3, 2026 15:49
c2f6f32 to
295178a
Compare
Contributor
Author
|
@leoafarias please take a look at my PR. It's blocking us from using mix in production because we rely on other generators that use a newer analyzer version. |
3 of 4 tasks
Collaborator
|
Released in mix_generator 2.2.1. Thanks for the contribution! |
Contributor
Author
|
Thank you 💙 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
No linked issue.
Description
Allow
mix_generatorto resolve with analyzer 11–14, including 14.4.0. Modifier generation now uses field-origin metadata after analyzer removedFieldElement.isSynthetic, while continuing to exclude static fields and fields induced by getters/setters.Changes
>=10.0.0 <15.0.0inmix_generator; the replacement field-origin API sets the new minimum to analyzer 10.>=13.0.0 <15.0.0, migrating named arguments and formal parameters to the current AST APIs.Review Checklist
Additional Information
Generator analysis has no errors or warnings, with four existing
prefer_initializing_formalsinfos. Root scripts and protocol inventory tooling analyze cleanly.melos run gen:buildandmelos run cipass across the repository; regenerated files are unchanged. Schema inventories andmelos run analyze:dartpass.melos run analyzereaches DCM, then fails becausedcmis not installed locally.