Skip to content

Areid/hex is bits#148

Open
alastairreid wants to merge 2 commits into
masterfrom
areid/hex-is-bits
Open

Areid/hex is bits#148
alastairreid wants to merge 2 commits into
masterfrom
areid/hex-is-bits

Conversation

@alastairreid

Copy link
Copy Markdown

Literal hex constants like "0xFF" now have type ": Bits(4*digits)".
They used to have type ": Integer".

The --language-version flag gives control over whether this is enabled or not.
I decided on a version instead of having lots of individual flags because I think it will be easier to manage.

@nikolaykosarev nikolaykosarev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good but, as you have seen probably, some tests fail.

@alastairreid

Copy link
Copy Markdown
Author

All tests now passing.

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