Added information about new lint

This commit is contained in:
Vyacheslav Egorov 2022-03-01 21:12:03 +02:00
parent 62c8a3ecdc
commit 861e3f7cdb

View file

@ -138,6 +138,15 @@ local function g(x: number)
end
```
---
We have also introduced a check for misspelled comment directives:
```lua
--!non-strict
-- ^ Unknown comment directive 'non-strict'; did you mean 'nonstrict'?
```
## Performance improvements
For performance, we have changed how our Garbage Collector collects unreachable memory.