From 81eb3cf5d938a6e12bb75c764682c0575c77b7e3 Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Fri, 3 Feb 2023 21:15:00 +0200 Subject: [PATCH] Maybe settle on this --- docs/_pages/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/syntax.md b/docs/_pages/syntax.md index 52fb28db..595a4804 100644 --- a/docs/_pages/syntax.md +++ b/docs/_pages/syntax.md @@ -267,7 +267,7 @@ print(`Welcome to { ### Restrictions and limitations -The sequence of two opening braces `` `...\{\{...}}...` `` is rejected with a parse error. +The sequence of two opening braces {{"`{{`"}} is rejected with a parse error. This restriction is made to prevent developers using other programming languages with a similar feature from trying to attempt that as a way to escape a single `{` and getting unexpected results in Luau. Luau currently does not support backtick string literals as a type annotation, so `` type Foo = `Foo` `` is invalid.