From 6dcdf99027dbfbc5e886f6d115c344927c8933ca Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Mon, 9 Aug 2021 20:39:04 +0300 Subject: [PATCH] Generic type pack has to be referenced by generic type pack name (with ...) --- rfcs/syntax-default-type-alias-type-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/syntax-default-type-alias-type-parameters.md b/rfcs/syntax-default-type-alias-type-parameters.md index a07e8aad..23bd71a8 100644 --- a/rfcs/syntax-default-type-alias-type-parameters.md +++ b/rfcs/syntax-default-type-alias-type-parameters.md @@ -50,7 +50,7 @@ Default type parameter values are also allowed for type packs: ```lua type A -- ok, variadic type pack type C -- ok, type pack with one element -type D -- ok +type D -- ok ``` ---