[dart] fix bug which generated wrong code#8780
Merged
jtdavis777 merged 5 commits intogoogle:masterfrom Nov 24, 2025
Merged
Conversation
Contributor
Author
|
Hello @aardappel . Sorry, I'm bother you again. It seems that it has nothing to do with my revisions. Is this PR okay? |
aardappel
previously approved these changes
Nov 17, 2025
Collaborator
index b9f7640..4f5d464 100644
--- a/dart/test/keyword_test_keyword_test_generated.dart
+++ b/dart/test/keyword_test_keyword_test_generated.dart
@@ -7,6 +7,7 @@ import 'dart:typed_data' show Uint8List;
import 'package:flat_buffers/flat_buffers.dart' as fb;
+
enum Abc {
$void(0),
where(1),
diff --git a/tests/monster_extra_my_game_generated.dart b/tests/monster_extra_my_game_generated.dart
index 77ce07f..833dfe5 100644
--- a/tests/monster_extra_my_game_generated.dart
+++ b/tests/monster_extra_my_game_generated.dart
@@ -7,6 +7,7 @@ import 'dart:typed_data' show Uint8List;
import 'package:flat_buffers/flat_buffers.dart' as fb;
+
class MonsterExtra {
MonsterExtra._(this._bc, this._bcOffset);
factory MonsterExtra(List<int> bytes) {
ERROR: ********************************************************
ERROR: * The following differences were found after running *
ERROR: * the script/generate_code.py script. Maybe you forgot *
ERROR: * to run it after making changes in a generator? *
ERROR: ********************************************************``` |
Collaborator
|
hey @fawdlstty - happy to get this merged, if you could take care of the generated code diff mentioned above. |
jtdavis777
approved these changes
Nov 24, 2025
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.
[recommit] #8541
Because the [#8380] author hasn't updated the working tree for a long time, I decided to reopen [#8259]