Skip to content

Table with hexadecimal key numbers falsely gives "] expected" #6

@Kampfkarren

Description

@Kampfkarren

The following code is tripping a syntax error:

local FOOBAR = {
    [0xDEADBEEF] = true
}

However, this doesn't:

local FOOBAR = {
    [100] = true,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions