mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Apply suggestions from code review
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
parent
baebdb9f3a
commit
4469e7cbb8
1 changed files with 2 additions and 2 deletions
|
@ -270,6 +270,6 @@ print(`Welcome to {
|
|||
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.
|
||||
Luau currently does not support backtick string literals as a type annotation, so `` type Foo = `Foo` `` is invalid.
|
||||
|
||||
Function calls with a backtick string literal without parenthesis is not supported, so ``print`hello` `` is invalid.
|
||||
Function calls with a backtick string literal without parenthesis is not supported, so `` print`hello` `` is invalid.
|
||||
|
|
Loading…
Add table
Reference in a new issue