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

Current treatment of casts is not specified and inconsistent #5

Open
hyperpape opened this issue Apr 23, 2023 · 1 comment
Open

Current treatment of casts is not specified and inconsistent #5

hyperpape opened this issue Apr 23, 2023 · 1 comment

Comments

@hyperpape
Copy link
Owner

Returning a value that can be cast will apply the cast. Otherwise, implicit casts are not done.

Fix or document this inconsistency.

Side note: inconsistently with the java language, a long can be implicitly cast to an int.

@hyperpape
Copy link
Owner Author

Actually, readme says "Implicit numeric conversions for primitives are supported", which is mostly not true now.

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

No branches or pull requests

1 participant