mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Add comment about CFrame.__mul
This commit is contained in:
parent
8845d33e4d
commit
2fb0ef80ad
1 changed files with 4 additions and 0 deletions
|
@ -150,3 +150,7 @@ We could normalize all types to have the same return type, by equating `(S1 -> T
|
|||
```
|
||||
|
||||
which is not in `(string | number) -> never`.
|
||||
|
||||
The Roblox API does have some overloaded functions where the return
|
||||
type depends on the argument type, for wexample `CFrame.__mul` has
|
||||
type `(CFrame -> CFrame) & (Vector3 -> Vector3)`.
|
||||
|
|
Loading…
Add table
Reference in a new issue