Update docs/_posts/2022-05-02-luau-recap-april-2022.md

This commit is contained in:
Arseny Kapoulkine 2022-05-02 16:42:29 -07:00 committed by GitHub
parent f00e1e47f5
commit c474b41b4c
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ local a: A = { 1, 2, 3 }
local b: B = a local b: B = a
``` ```
If the following code were to error because `Hello` was undefined, we would erraneously include the comment in the span of the error. This is now fixed. If the following code were to error because `Hello` was undefined, we would erroneously include the comment in the span of the error. This is now fixed.
```lua ```lua
type Foo = Hello -- some comment over here type Foo = Hello -- some comment over here
``` ```