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

type should be contextual #125

Open
toxamin opened this issue Apr 14, 2024 · 0 comments
Open

type should be contextual #125

toxamin opened this issue Apr 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@toxamin
Copy link

toxamin commented Apr 14, 2024

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

@toxamin toxamin added the bug Something isn't working label Apr 14, 2024
@GGG-KILLER GGG-KILLER added this to the v0.2.12 milestone Apr 26, 2024
@GGG-KILLER GGG-KILLER self-assigned this Apr 26, 2024
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
Status: Todo
Development

No branches or pull requests

2 participants