Skip to content

[pigeon] add support for analyzer 13 and 14 - #12358

Merged
auto-submit[bot] merged 2 commits into
flutter:mainfrom
tarrinneal:pigeon-analyze-13-14
Aug 6, 2026
Merged

[pigeon] add support for analyzer 13 and 14#12358
auto-submit[bot] merged 2 commits into
flutter:mainfrom
tarrinneal:pigeon-analyze-13-14

Conversation

@tarrinneal

@tarrinneal tarrinneal commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

updates ast crawling to use new argument classes. supports major analyzer versions 13 and 14.

fixes flutter/flutter#187145

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Aug 4, 2026
@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the analyzer dependency in the pigeon package to support versions 13 and 14, bumping the package version to 27.3.1. The changes adapt the AST parsing logic in pigeon_lib_internal.dart to use Argument and NamedArgument instead of Expression and NamedExpression, and simplify formal parameter parsing. Feedback suggests improving an error message in pigeon_lib_internal.dart to print the specific invalid argument instead of the entire expression.

Comment thread packages/pigeon/lib/src/pigeon_lib_internal.dart Outdated

@stuartmorgan-g stuartmorgan-g left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor comments.

Comment thread packages/pigeon/lib/src/pigeon_lib_internal.dart
Comment thread packages/pigeon/pubspec.yaml Outdated
@tarrinneal tarrinneal added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 6, 2026
@auto-submit
auto-submit Bot merged commit df17293 into flutter:main Aug 6, 2026
13 checks passed
Subhanshu20135 pushed a commit to The-Developer-Diaries/flutter that referenced this pull request Aug 7, 2026
…r#190719)

flutter/packages@4e3f83d...fc22143

2026-08-07 engine-flutter-autoroll@skia.org Roll Flutter (stable) from
058e0af to 6b182d2 (4 revisions) (flutter/packages#12394)
2026-08-07 269567208+reidbaker-agent@users.noreply.github.com
[camera_android_camerax][tool] Migrate complexity checks to
package:cognitive_complexity (flutter/packages#12356)
2026-08-06 mdebbar@google.com [camera_web] Remove invalid @js annotation
on extension type constructors (flutter/packages#12384)
2026-08-06 tarrinneal@gmail.com [pigeon] add support for analyzer 13 and
14 (flutter/packages#12358)
2026-08-06 katelovett@google.com [cupertino_ui, material_ui] Fix bad doc
references (flutter/packages#12381)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App CICD Run CI/CD p: pigeon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pigeon] Add support for analyzer 13

2 participants