Skip to content

Binary literals are treated as errors #596

Description

@WeCodingNow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions