Fix paranthesis (#13)
This commit is contained in:
parent
6c709f8e65
commit
710547df83
|
@ -108,7 +108,7 @@ local function greetings(name)
|
|||
return greetingsHelper(name)
|
||||
end
|
||||
|
||||
print(greetings("Alexander") -- ok
|
||||
print(greetings("Alexander")) -- ok
|
||||
print(greetings({name = "Alexander"}) -- not ok
|
||||
```
|
||||
|
||||
|
@ -343,4 +343,4 @@ module.Quux = "Hello, world!"
|
|||
return module
|
||||
```
|
||||
|
||||
There are some caveats here though. For instance, the require path must be resolvable statically, otherwise Luau cannot accurately type check it.
|
||||
There are some caveats here though. For instance, the require path must be resolvable statically, otherwise Luau cannot accurately type check it.
|
||||
|
|
Loading…
Reference in New Issue