Update syntax-multiple-index.md

This commit is contained in:
Daniel P H Fox (Roblox) 2025-01-25 16:20:30 -08:00 committed by GitHub
parent 4dccd2ca12
commit e473d5d825
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -285,7 +285,7 @@ There is nothing functionally wrong with this, so the proposal doesn't discard t
Renaming identifiers was considered with implicit keys, and should be possible with full backwards compatibility, and support for arbitrary expressions.
```Lua
amelia in "amy", beth in "bethany", carol in "caroline" = nicknames[]
amy in "amelia", beth in "bethany", carol in "caroline" = nicknames[]
```
Notably, this would allow the use of implicit keys with only some keys renamed, useful for avoiding namespace collisions: