Apply suggestions from code review

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
vegorov-rbx 2023-02-03 11:08:14 -08:00 committed by GitHub
parent baebdb9f3a
commit 4469e7cbb8
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.