Skip to content

fix(dart): reserve runtime type names - #3437

Open
schani wants to merge 2 commits into
masterfrom
fix/dart-runtime-type-names
Open

fix(dart): reserve runtime type names#3437
schani wants to merge 2 commits into
masterfrom
fix/dart-runtime-type-names

Conversation

@schani

@schani schani commented Sep 5, 2026

Copy link
Copy Markdown
Member

Generated classes named DateTime, EnumValues, FormatException, or RegExp shadow types used by Dart serialization and validation. Reserve these names and add a Dart-specific fixture exercising all four collisions.

Validation: fixture compilation fails before the fix; all 142 QUICKTEST Dart JSON/schema cases pass afterward. The fixture also passes after moving into Dart-specific inputs. Production change: 4 added lines.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Generated-output differences

54 files differ — 1 modified, 53 new, 0 deleted
6536 changed lines — +6533 / −3

Open the generated-output report →

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Generated-output differences

2 files differ — 1 modified, 1 new, 0 deleted
141 changed lines — +138 / −3

Open the generated-output report →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant