diff --git a/docs/_posts/2021-05-31-luau-recap-may-2021.md b/docs/_posts/2021-05-31-luau-recap-may-2021.md index 940d62bc..6c3da5cd 100644 --- a/docs/_posts/2021-05-31-luau-recap-may-2021.md +++ b/docs/_posts/2021-05-31-luau-recap-may-2021.md @@ -44,7 +44,7 @@ Speaking of typechecking, we've implemented many improvements this month: We've also added new checks to our linter: * A new check will report uses of deprecated Roblox APIs -* We will warn for global functions that are defined inside local functions +* Linter will now suggest replacing globals with locals in more cases * New warning is generated if array loop starts or ends on index '0', but the array is indexed from '1' * FormatString lint will now check string patterns for `find`/`match` calls via `:` when object type is known to be a string @@ -60,9 +60,9 @@ As part of this work we will improve the type information provided by Roblox API ## Behavior changes -We've made an improvement for an error message, when a relational comparison fails at runtime, we now specify the comparison direction in the error message (e.g. `attempt to compare nil <= number`) +When a relational comparison fails at runtime, the error message now specifies the comparison direction (e.g. `attempt to compare nil <= number`) ## Performance improvements -* Improved performance of table lookup with an index operator and a string: `t["name"]` +* Improved performance of table lookup with an index operator and a literal string: `t["name"]` * Bytecode compilation is now ~5% faster which can improve server startup time for games with lots of scripts