Support analyzer >=10 <15 - #1012
Draft
greglittlefield-wf wants to merge 11 commits into
Draft
Conversation
greglittlefield-wf
force-pushed
the
allow-latest-analyzer
branch
from
August 6, 2026 23:37
1d7b385 to
344dd4c
Compare
…r analyzer 11-14
Analyzer 11-14 removed several AST APIs the builder relied on. This
migrates off them so the builder works across analyzer 10 through 14:
- NamedCompilationUnitMember → CompilationUnitMember (removed in 11)
- ClassDeclaration.{members,typeParameters,leftBracket,rightBracket} →
via .body.members/.namePart.typeParameters/etc. (removed in 11)
- ClassBody.members shim for analyzer 10/11 (moved to ClassBody in 12)
- NamedExpression → NamedArgument via dynamic dispatch (renamed in 13)
Also removes the build_runner <2.14.0 workaround cap (fixed in 2.15.1),
updates the validate_analyzer CI matrix to test ^10 through ^14, and
extends set_analyzer_constraint.dart to strip dev deps that cap the
analyzer so high-version rows can resolve.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
greglittlefield-wf
force-pushed
the
allow-latest-analyzer
branch
from
August 7, 2026 00:03
1bd7fab to
ef5b671
Compare
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.
No description provided.