Skip to content

Backport {Uint,Int,Fixed,Ufixed}Keyword from DSL v2 to v0/v1#662

Merged
Xanewok merged 6 commits intoNomicFoundation:mainfrom
Xanewok:reintroduce-type-name-keyword-names
Nov 21, 2023
Merged

Backport {Uint,Int,Fixed,Ufixed}Keyword from DSL v2 to v0/v1#662
Xanewok merged 6 commits intoNomicFoundation:mainfrom
Xanewok:reintroduce-type-name-keyword-names

Conversation

@Xanewok
Copy link
Copy Markdown
Contributor

@Xanewok Xanewok commented Nov 16, 2023

Part of #652

Helps with #650

These make more sense, given that these are the names used in the official grammar (fixed-bytes, signed-integer-type, unsigned-integer-type) and "XXXKeyword" name implies a single atom and not a more complex rule (e.g. looking at the fixed definition...).

I think we should revert the accidental name change in v2 and later decide if we want to change these.

EDIT: This now does the opposite and backports the name change to v0/v1.

@Xanewok Xanewok requested a review from a team as a code owner November 16, 2023 15:11
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Nov 16, 2023

⚠️ No Changeset found

Latest commit: 12348cf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Xanewok Xanewok force-pushed the reintroduce-type-name-keyword-names branch from c986ba8 to a92a38c Compare November 16, 2023 15:18
Copy link
Copy Markdown
Contributor

@OmarTawfik OmarTawfik left a comment

Choose a reason for hiding this comment

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

Left one question/concern.

@Xanewok Xanewok force-pushed the reintroduce-type-name-keyword-names branch from a92a38c to 12348cf Compare November 21, 2023 17:35
@Xanewok Xanewok changed the title Prefer v0/v1 names for variable bytes/int type names in DSL v2 Backport {Uint,Int,Fixed,Ufixed}Keyword from DSL v2 to v0/v1 Nov 21, 2023
@Xanewok Xanewok requested a review from OmarTawfik November 21, 2023 17:36
@Xanewok Xanewok added this pull request to the merge queue Nov 21, 2023
Merged via the queue into NomicFoundation:main with commit ab831e9 Nov 21, 2023
@Xanewok Xanewok deleted the reintroduce-type-name-keyword-names branch November 21, 2023 22:01
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