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

Integers considered incorrect #605

Closed
kduman opened this issue May 25, 2015 · 1 comment
Closed

Integers considered incorrect #605

kduman opened this issue May 25, 2015 · 1 comment

Comments

@kduman
Copy link

kduman commented May 25, 2015

Integers in base#value format are incorrect according to the plugin.

Though this is a correct way to define an integer in erlang: http://erlang.org/doc/reference_manual/data_types.html#id65014

As instance 32#ELEPHANT will be considered incorrect according to the plugin.

@telezhnaya
Copy link
Contributor

The problem is deeper.
2#0123, 8#ABC will be considered correct (although there could be just numbers 0..1 and 0..7 respectively)
0#123, 1#123, 37#123, 99#123 will also be ok (base should be in range [2, 36])

telezhnaya added a commit to telezhnaya/intellij-erlang that referenced this issue Jul 15, 2015
telezhnaya added a commit to telezhnaya/intellij-erlang that referenced this issue Jul 15, 2015
telezhnaya added a commit to telezhnaya/intellij-erlang that referenced this issue Jul 15, 2015
telezhnaya added a commit to telezhnaya/intellij-erlang that referenced this issue Jul 15, 2015
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

3 participants