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

Add newly added f16 and f128 types in parsing #82

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

GuillaumeGomez
Copy link
Contributor

Copy link
Collaborator

@Kijewski Kijewski left a comment

Choose a reason for hiding this comment

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

The change is fine. The compiler will tell the user that they can't use f128 just yet.

But I don't like the current implementation, neither for int suffices nor float. IMO it would be better to capture an ident and match the result. This reduces the chance of false positive matches like 1_u321.

@GuillaumeGomez
Copy link
Contributor Author

Ok, merging this one and opening an issue. Gonna give it a try. :)

@GuillaumeGomez
Copy link
Contributor Author

Ah wait no, can't since you didn't approve. Gonna try in this PR then I suppose. 😛

@Kijewski Kijewski enabled auto-merge July 19, 2024 20:35
Copy link
Collaborator

@Kijewski Kijewski left a comment

Choose a reason for hiding this comment

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

Approved, because it's strictly better than before :)

@Kijewski Kijewski merged commit 311235f into rinja-rs:master Jul 19, 2024
17 checks passed
@GuillaumeGomez GuillaumeGomez deleted the float-types branch July 20, 2024 08:46
@GuillaumeGomez
Copy link
Contributor Author

Opening an issue then. ;)

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