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

Binary literals are treated as errors #596

Closed
WeCodingNow opened this issue Jul 12, 2021 · 0 comments
Closed

Binary literals are treated as errors #596

WeCodingNow opened this issue Jul 12, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@WeCodingNow
Copy link

Describe the bug
Binary literals, even though they are supported by lua interpreters, are treated as erroneous code.

To Reproduce

  1. Open lua code file
  2. Paste code:
bit.band(0b111, 0b001)
  1. Observe

Expected behavior
Expected behavior is not treating binary literals as errors and/or hinting at what the value would be in the decimal system

Screenshots
image

Environment (please complete the following information):

  • OS: Linux Mint 18
  • Client: VSCode

Additional context
VSCode extension version: 2.2.3

@sumneko sumneko added the bug Something isn't working label Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants