From 9cc277c016e81b542d09b42e60bf016de092cf8d Mon Sep 17 00:00:00 2001 From: Dekkonot <4625546+Dekkonot@users.noreply.github.com> Date: Thu, 11 Nov 2021 13:07:32 -0800 Subject: [PATCH] Adjust phrasing of semantic drawback --- rfcs/syntax-constant-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfcs/syntax-constant-variables.md b/rfcs/syntax-constant-variables.md index 26353074..9c89fb2e 100644 --- a/rfcs/syntax-constant-variables.md +++ b/rfcs/syntax-constant-variables.md @@ -59,7 +59,7 @@ Constants complicate garbage collection because they are read-only once defined. This would introduce a new context-sensitive keyword, which complicates parsing and hurts readability in cases like `const const = foo` or `local const = foo`. -The semantics of the proposed implementation may be confusing to people. Constants should be actual constants, but this syntax has to not be so strict as to be unusable in environments like Roblox. This has lead to a design like the one proposed, where constants aren't necessarily constants and may in fact be mutable in the case of userdata or may have a state like coroutines. +The semantics of the proposed implementation may be confusing to people. Constants should be actual constants, but Luau constants would have to not be so strict as to be unusable in environments like Roblox. This has lead to a design like the one proposed, where constants aren't necessarily constants and may in fact be mutable in the case of userdata or may have a state like coroutines. ## Alternatives