Closed catwell closed 1 year ago
no, that's just a bug. That "syntax is no longer valid" check should have been only inside record
definitions, not inside table literals.
I improved the checks for soft keywords, it no longer syntax-errors on the example above.
I got this error while trying to use Lapis with Teal.
Lapis has a submodule that looks like this, and so it hits this.
Maybe this means we should have a "lax" mode for the parser as well? Lapis keywords should not interfere with Lua code.