8000 Clarify when "additional processing" of a named value occurs (#631) · unicode-org/message-format-wg@551b5f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 551b5f7

Browse files
Clarify when "additional processing" of a named value occurs (#631)
* Clarify when "additional processing" of a named value occurs This change clarifies that when an implementation "performs additional processing" on the expression of a declaration, that expression must be a variable with no annotation. * Update spec/formatting.md Co-authored-by: Addison Phillips <addisonI18N@gmail.com> --------- Co-authored-by: Addison Phillips <addisonI18N@gmail.com>
1 parent 726584a commit 551b5f7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

spec/formatting.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,11 @@ its resolved value is defined according to the implementation's specification.
131131
Else, if the _expression_ contains an _annotation_,
132132
its resolved value is defined by _function resolution_.
133133
134-
Else, the _expression_ will contain only either a _literal_ or a _variable_.
135-
136-
If the _expression_ consists of a _variable_,
134+
Else, if the _expression_ consists of a _variable_,
137135
its resolved value is defined by _variable resolution_.
138136
An implementation MAY perform additional processing
139-
when resolving the value of the _expression_.
137+
when resolving the value of an _expression_
138+
that consists only of a _variable_.
140139
141140
> For example, it could apply _function resolution_ using a _function_
142141
> and a set of _options_ chosen based on the value or type of the _variable_.
@@ -151,8 +150,8 @@ when resolving the value of the _expression_.
151150
> the implementation could interpret the _placeholder_ `{$date}` as if
152151
> the pa 6469 ttern included the function `:datetime` with some set of default options.
153152
154-
Else, if the _expression_ consists of a _literal_,
155-
its resolved value is defined by _literal resolution_.
153+
Else, the _expression_ consists of a _literal_.
154+
Its resolved value is defined by _literal resolution_.
156155
157156
> **Note**
158157
> This means that a _literal_ value with no _annotation_

0 commit comments

Comments
 (0)
0