Uh oh!
There was an error while loading. Please reload this page.
[pigeon] allow empty class - #12181
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds support for empty data classes in Pigeon across Dart, Java, Kotlin, and Objective-C generators, and bumps the package version to 27.2.0. Feedback on the changes suggests adding a blank line between the constructor and the serialization method in the generated Dart code for empty classes to improve readability.
Uh oh!
There was an error while loading. Please reload this page.
stuartmorgan-g
commented
Jul 15, 2026
Looks like Linux, Windows, and Obj-C tests are all sad. |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
LGTM with a couple of small tweaks.
Some of the output is a little silly (like the string concatenation of Foo( and ) as separate steps with nothing in between for to-string methods), but nothing that's worth adding complexity to the generators for other than the one case noted below where it's creating an unused variable.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
stuartmorgan-g
left a comment
There was a problem hiding this comment.
(Now with the right radio button selected.)
This pull request is not mergeable in its current state, likely because of a merge conflict. Pre-submit CI jobs were not triggered. Pushing a new commit to this branch that resolves the issue will result in pre-submit jobs being scheduled. |
Uh oh!
There was an error while loading. Please reload this page.
…er#189659) flutter/packages@9f95026...4fdc766 2026-07-17 tarrinneal@gmail.com [pigeon] allow empty class (flutter/packages#12181) 2026-07-16 dkwingsmt@users.noreply.github.com [material_ui, cupertino_ui] Rename l10n macros (flutter/packages#12211) 2026-07-16 stuartmorgan@google.com [ci] Remove manual SwiftPM enabling step (flutter/packages#12204) 2026-07-16 stuartmorgan@google.com [google_maps_flutter] Fix XCUITest on stable (flutter/packages#12214) 2026-07-16 stuartmorgan@google.com [google_maps_flutter] Convert XCUITests to Swift (flutter/packages#12208) 2026-07-16 dkwingsmt@users.noreply.github.com [material_ui] Rename the remaining templates (flutter/packages#12210) 2026-07-15 dkwingsmt@users.noreply.github.com [material_ui, cupertino_ui] Rename macro names to package names (flutter/packages#12198) 2026-07-15 katelovett@google.com [material_ui] Fix upstream localization test (flutter/packages#12207) 2026-07-15 stuartmorgan@google.com [material_ui, cupertino_ui] Localizations (flutter/packages#12119) 2026-07-15 codefu@google.com fix(ci): harden some workflows in packages (flutter/packages#12178) 2026-07-15 engine-flutter-autoroll@skia.org Roll Flutter from 846664b to fc1ad95 (18 revisions) (flutter/packages#12203) 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
instead of preventing it from being defined, I just made it work
instead of preventing it from being defined, I just made it work