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

[codegen] Fix getter plural names containing 'data' #534

Merged
merged 1 commit into from
Jul 19, 2023
Merged

[codegen] Fix getter plural names containing 'data' #534

merged 1 commit into from
Jul 19, 2023

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Jul 6, 2023

Seeing 'variation_datas' was making me irrationally angry.

Seeing 'variation_datas' was making me irrationally angry.
@@ -527,18 +527,18 @@ pub struct ItemVariationStore {
pub variation_region_list: OffsetMarker<VariationRegionList, WIDTH_32>,
/// Offsets in bytes from the start of the item variation store to
/// each item variation data subtable.
pub item_variation_datas: Vec<NullableOffsetMarker<ItemVariationData, WIDTH_32>>,
pub item_variation_data: Vec<NullableOffsetMarker<ItemVariationData, WIDTH_32>>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ItemVariationDatum? 😄

@cmyr cmyr merged commit 4bc15e4 into main Jul 19, 2023
7 checks passed
@cmyr cmyr deleted the bad-datas branch July 19, 2023 14:59
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.

2 participants