mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-19 03:13:49 +01:00
Fix Luau highlighting
This commit is contained in:
parent
e792a0997b
commit
5aba1f8a84
1 changed files with 1 additions and 3 deletions
|
@ -100,8 +100,6 @@ local blue, red = doStuff()
|
||||||
receiveStuff(doStuff())
|
receiveStuff(doStuff())
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Drawbacks
|
## Drawbacks
|
||||||
|
|
||||||
There is a philosophical disagreement over the purpose of the Luau static type system:
|
There is a philosophical disagreement over the purpose of the Luau static type system:
|
||||||
|
@ -141,7 +139,7 @@ poem(blue, red) --> roses are blue violets are red
|
||||||
|
|
||||||
The same principle also applies to multiple assignment in existing parts of Luau:
|
The same principle also applies to multiple assignment in existing parts of Luau:
|
||||||
|
|
||||||
```
|
```Lua
|
||||||
for value, key in pairs({"hello", "world"}) do
|
for value, key in pairs({"hello", "world"}) do
|
||||||
print(value) --> 1 2
|
print(value) --> 1 2
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue