Thanks to visit codestin.com
Credit goes to github.com

Skip to content

type should be contextual #125

@toxamin

Description

@toxamin

Describe the bug
type isn't treated as a contextual keyword

To Reproduce
run

local type
type = "?"

when types aren't enabled, encounter LUA1016.
incorrectly parse second statement as TypeDeclarationStatementSyntax

Expected behavior
type is treated as a contextual keyword

Additional context
Loretta Version: 0.2.13-nightly.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions