Skip to content

Conversation

@RedPhoenixQ
Copy link
Contributor

This is a fix for the bug mentioned in #396 (comment).

This is similar to #336 and also addresses #335, se the test for examples of what is now possible

The implications mentioned in #335 (comment) are not addressed here, but for now this fixes the bug that #396 created

We will not accept floats because `123.123` is a float literal,
but `123 .123` is a int literal followed by a class called `123`.
This could be confusing so it will not be accepted.

Ints can have leading zeros, like `0123`, but this is not guarranteed by
the rust compiler to always work, which could cause future errors.
An example would be truncating `001` to `1`.
This outputs exactly what is written, which is the obvious behaviour
RedPhoenixQ and others added 2 commits November 15, 2023 12:24
Previous verison was not using nightly, causing errors in the automated
test that are using nightly
Copy link
Owner

@lambda-fairy lambda-fairy left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

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