forked from phoedos/pmd
[lua] Fixups from #4066
This commit is contained in:
parent
dcd8ff0ac0
commit
746fcbf086
@ -14,9 +14,10 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### Luau Support
|
||||
#### Lua now supports additionally Luau
|
||||
|
||||
This release of PMD brings support for [Luau](https://github.com/Roblox/luau), a gradually typed language derived from Lua.
|
||||
This release of PMD adds support for [Luau](https://github.com/Roblox/luau), a gradually typed language derived
|
||||
from Lua. This means, that the Lua language in PMD can now parse both Lua and Luau.
|
||||
|
||||
### Fixed Issues
|
||||
* [#4116](https://github.com/pmd/pmd/pull/4116): \[core] Missing --file arg in TreeExport CLI example
|
||||
|
@ -108,6 +108,7 @@ label
|
||||
;
|
||||
|
||||
laststat
|
||||
// "continue" is a luau addition and actually not a reserved keyword
|
||||
: 'return' explist? | 'break' | 'continue'
|
||||
;
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class LuaTokenizerTest extends CpdTextComparisonTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRegression() {
|
||||
public void testLuauTypes() {
|
||||
doTest("luauTypes");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user