From c7d808aee85d9e550e1df4aef7c49ca8da35a9fc Mon Sep 17 00:00:00 2001 From: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> Date: Thu, 23 Sep 2021 20:59:37 +0300 Subject: [PATCH] Update rfcs/recursive-type-restriction.md Co-authored-by: Alan Jeffrey <403333+asajeffrey@users.noreply.github.com> --- rfcs/recursive-type-restriction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/recursive-type-restriction.md b/rfcs/recursive-type-restriction.md index fb4ae17b..eb9b2124 100644 --- a/rfcs/recursive-type-restriction.md +++ b/rfcs/recursive-type-restriction.md @@ -2,7 +2,7 @@ ## Motivation -Luau supports reclusive type aliases, but with an important restriction: +Luau supports recursive type aliases, but with an important restriction: users can declare functions of recursive types, such as: ```lua type Tree = { data: a, children: {Tree} }