Added comment about Instance.new

This commit is contained in:
ajeffrey@roblox.com 2022-04-06 15:07:21 -05:00
parent 8c522788bd
commit 7819bf31c7

View file

@ -138,6 +138,15 @@ In this proposal, the type of `f(x)` can depend on the type of `x`, which may ca
There may be other devils in the details. There may be other devils in the details.
Saturation on something like the type of `Instance.new` would be horrible
```lua
( ("Part") -> Part
& ("Folder") -> Folder
& ("Humanoid") -> Humanoid
& ... )
```
## Alternatives ## Alternatives
We could try applying fixes to the current algorithm, and live with constraint order mattering. We could try applying fixes to the current algorithm, and live with constraint order mattering.