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

numeric literals with underscores not handled consistently #4409

Closed
jwoLondon opened this issue Apr 17, 2016 · 2 comments
Closed

numeric literals with underscores not handled consistently #4409

jwoLondon opened this issue Apr 17, 2016 · 2 comments

Comments

@jwoLondon
Copy link

Processing 3 seems to be able to handle numeric literals with underscores with simple assignment:

int literal = 10_000;

But when combined with operators, Processing throws 'unexpected token: int' at runtime (but no red wavey line in the editor):

int literal = 10_000 + 1;
@JakubValtar
Copy link
Contributor

Hi, thanks for your report. The preprocessor does not support all of Java 7 features, but error checker has full Java 7 support. This is something I'm working on right now. There is already similar issue (#3054), so I'm closing this as a duplicate.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants