b2f2dc01a3
Update `AddEnumConstant` fix to handle dot shorthands. Added some relevant unit tests. This revealed a bug in `change_builder_dart` where we'd crash with an enum with no constants. Added some tests for that in `create_field_test`. Bug: https://github.com/dart-lang/sdk/issues/60994 Change-Id: Id75b79b8717305ddca3092fc35cadec7677177df Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443363 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Kallen Tu <kallentu@google.com>