mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
Note the limitation of current constraint resolver
This commit is contained in:
parent
c1b870925d
commit
eaba239367
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ function say_hello(name: string?, surname: string?)
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Please note that constraints are currently placed only on local and global variables.
|
||||||
|
One of our goals is to include support for table members in the future.
|
||||||
|
|
||||||
## Typechecking improvements
|
## Typechecking improvements
|
||||||
|
|
||||||
We have improved the way we handled module `require` calls. Previously, we had a simple pattern match on the `local m = require(...)` statement, but now we have replaced it with a general handling of the function call in any context.
|
We have improved the way we handled module `require` calls. Previously, we had a simple pattern match on the `local m = require(...)` statement, but now we have replaced it with a general handling of the function call in any context.
|
||||||
|
|
Loading…
Add table
Reference in a new issue