Skip to content

What does "Recursive Type Being used with Different Parameters" mean? #108

Answered by zeux
mheiber asked this question in Q&A
Discussion options

You must be logged in to vote

This is a side-effect of https://github.com/Roblox/luau/blob/master/rfcs/recursive-type-restriction.md. We introduced this to keep generic types from expanding indefinitely during generic argument substitution. @asajeffrey was looking into whether we can make the restriction a bit more lenient without introducing issues for type checker, see #86 (which is still a draft for now)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mheiber
Comment options

@asajeffrey
Comment options

Answer selected by mheiber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants