Skip to content
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

[pigeon] Fix C++ enum naming #7094

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

stuartmorgan
Copy link
Contributor

The C++ generator wasn't adjusting enum value names, so they were just using the Dart camelCase style. This makes them style-guide compliant by adding the k prefix and making the first actual letter upper-case.

Fixes flutter/flutter#147328

Pre-launch Checklist

The C++ generator wasn't adjusting enum value names, so they were just
using the Dart camelCase style. This makes them style-guide compliant by
adding the `k` prefix and making the first actual letter upper-case.

Fixes flutter/flutter#147328
@stuartmorgan
Copy link
Contributor Author

This isn't time-sensitive; if you'd like to fold it into another breaking change to slow the version train down a bit, feel free.

@stuartmorgan stuartmorgan added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 12, 2024
@auto-submit auto-submit bot merged commit 3379e51 into flutter:main Jul 12, 2024
74 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 12, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 12, 2024
flutter/packages@ea35fc6...3379e51

2024-07-12 stuartmorgan@google.com [pigeon] Fix C++ enum naming (flutter/packages#7094)
2024-07-12 ditman@gmail.com [ci] Split build_all_packages by JDK version. (flutter/packages#7106)
2024-07-12 41930132+hellohuanlin@users.noreply.github.com [ios]Fix compile error when conforming UIApplication to Launcher due to MainActor annotation (flutter/packages#7100)
2024-07-11 47866232+chunhtai@users.noreply.github.com [go_router] Makes GoRouterState lookup more robust. (flutter/packages#6920)
2024-07-11 mdebbar@google.com [ci][web] Run tests in canvaskit mode. (flutter/packages#6879)
2024-07-10 49699333+dependabot[bot]@users.noreply.github.com [image_picker]: Bump androidx.core:core from 1.10.1 to 1.13.1 in /packages/image_picker/image_picker_android/android (flutter/packages#6648)

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,rmistry@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 p: pigeon platform-windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pigeon] C++ generator uses the wrong style for enum values
2 participants