Skip to content

Fix field deduplication#129

Draft
inferiorhumanorgans wants to merge 2 commits intoembassy-rs:mainfrom
inferiorhumanorgans:fix-dedup-fields
Draft

Fix field deduplication#129
inferiorhumanorgans wants to merge 2 commits intoembassy-rs:mainfrom
inferiorhumanorgans:fix-dedup-fields

Conversation

@inferiorhumanorgans
Copy link
Copy Markdown

#93 actually missed the part of the code where the field itself is named. This PR ensures fields are renamed.

This is marked as a draft because I added a couple tests to define the expected behavior. Beyond making sure that this is the right shape for tests to take, the duplicate_ir_fields_should_not_collide test fails. Should deduplication happen when parsing SVD and YAML definitions or just SVDs?

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