mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Maybe settle on this
This commit is contained in:
parent
f57cede13a
commit
81eb3cf5d9
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue