Cannot use a type function in a type with a generic being passed into a type function · Issue #1679 · luau-lang/luau · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typefunctionmrrp(t)
returntypes.unionof(t, types.singleton("mrrp"))
end-- if this type is just replaced with keyof<T> theres no errorstypemiaow<T> = {
purr:keyof<T>
}
--[[ TypeError: Type function instance mrrp<miaow<T>> is uninhabited Luau(1037) TypeError: Argument of type keyof<T> is not currently serializable by type functions Luau(1048)--]]typemeow<T> =mrrp<miaow<T>>
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: