Skip to content

Commit 2757f7a

Browse files
committed
Incorporate feedback from Joe Groff.
1 parent a34c522 commit 2757f7a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ReferenceManual/Expressions.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,13 @@ by passing them to the ``[keyPath:]`` subscript.
11421142
As of 2017-04-19 Joe Groff says he expects to only implement property names
11431143
for WWDC. More stuff will land later.
11441144
1145-
key-path-component --> identifier ``?``
1146-
key-path-component --> ``[`` function-argument-list ``]``
1145+
key-path-expression --> ``\`` type-OPT ``.`` key-path-components
1146+
1147+
key-path-components --> key-path-component | key-path-component ``.`` key-path-components
1148+
key-path-component --> identifier keypath-postfixes-OPT | keypath-postfixes
1149+
1150+
key-path-postfixes --> key-path-postfix key-path-postfixes-OPT
1151+
key-path-postfix --> ``?`` | ``!`` | ``[`` function-argument-list ``]``
11471152
11481153
11491154
.. _Expression_SelectorExpression:

0 commit comments

Comments
 (0)