mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix typo
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This commit is contained in:
parent
8a2cb2ad62
commit
0c168f8ccd
1 changed files with 2 additions and 1 deletions
|
@ -146,4 +146,5 @@ Doing nothing is an option, as current standard if-checks already work, as well
|
|||
|
||||
Supporting optional calls/indexes, such as `x?[1]` and `x?()`, while not out of scope, are likely too fringe to support, while adding on a significant amount of parsing difficulty, especially in the case of shorthand function calls, such as `x?{}` and `x?""`.
|
||||
|
||||
It is possible to make `x?.y = z` resolve to only setting `x.y` is `x` is nil, but assignments silently failing can be seen as surprising.
|
||||
It is possible to make `x?.y = z` resolve to only setting `x.y` if `x` is nil, but assignments silently failing can be seen as surprising.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue