mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Merge branch 'post-recap-may-2022' of https://github.com/vegorov-rbx/luau into post-recap-may-2022
This commit is contained in:
commit
f0f94a0e35
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ We have also fixed various issues that have caused crashes, with many of them co
|
||||||
|
|
||||||
## Linter improvements
|
## Linter improvements
|
||||||
|
|
||||||
`global-used-as-local` lint warning has been extended to notice when global variable writes always happen before their use in a local scope, suggesting that they can be replaced with a local variable:
|
`GlobalUsedAsLocal` lint warning has been extended to notice when global variable writes always happen before their use in a local scope, suggesting that they can be replaced with a local variable:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function bar()
|
function bar()
|
||||||
|
|
Loading…
Add table
Reference in a new issue