manual: fixes the wording of case statement macros

This commit is contained in:
Araq 2018-09-27 22:34:49 +02:00
commit a0ec1c1212

View file

@ -5592,12 +5592,12 @@ via ``{.experimental: "caseStmtMacros".}``.
``match`` macros are subject to overload resolution. First the ``match`` macros are subject to overload resolution. First the
``case``'s selector expression is used to determine which ``match`` ``case``'s selector expression is used to determine which ``match``
macro to call. To this macro is then the complete ``case`` statement macro to call. To this macro is then passed the complete ``case``
body is passed and the macro is evaluated. statement body and the macro is evaluated.
In other words, the macro needs to transform the full ``case`` statement In other words, the macro needs to transform the full ``case`` statement
but only the statement's selector expression is used to determine which but only the statement's selector expression is used to determine which
``macro`` to call. macro to call.
Special Types Special Types