@@ -86,15 +86,15 @@ does not equal the number of _selectors_.
8686> Example invalid messages resulting in a _Variant Key Mismatch_ error:
8787>
8888> ```
89- > .input {$one :func}
89+ > .input {$one :ns: func}
9090> .match $one
9191> 1 2 {{Too many}}
9292> * {{Otherwise}}
9393> ```
9494>
9595> ```
96- > .input {$one :func}
97- > .input {$two :func}
96+ > .input {$one :ns: func}
97+ > .input {$two :ns: func}
9898> .match $one $two
9999> 1 2 {{Two keys}}
100100> * {{Missing a key}}
@@ -109,15 +109,15 @@ does not include a _variant_ with only catch-all keys.
109109> Example invalid messages resulting in a _Missing Fallback Variant_ error:
110110>
111111> ```
112- > .input {$one :func}
112+ > .input {$one :ns: func}
113113> .match $one
114114> 1 {{Value is one}}
115115> 2 {{Value is two}}
116116> ```
117117>
118118> ```
119- > .input {$one :func}
120- > .input {$two :func}
119+ > .input {$one :ns: func}
120+ > .input {$two :ns: func}
121121> .match $one $two
122122> 1 * {{First is one}}
123123> * 1 {{Second is one}}
@@ -176,9 +176,9 @@ so explicitly declaring it after such use is also an error.
176176> .input {$var2 :number}
177177> {{Redeclaration of the implicit input variable $var2}}
178178>
179- > .local $var = {$ext :someFunction }
179+ > .local $var = {$ext :ns:func }
180180> .local $var = {$error}
181- > .local $var2 = {$var2 :error}
181+ > .local $var2 = {$var2 :ns: error}
182182> {{{$var} cannot be redefined. {$var2} cannot refer to itself}}
183183> ```
184184
@@ -194,7 +194,7 @@ appears on the left-hand side of more than one _option_ in the same _expression_
194194> ```
195195>
196196> ```
197- > .local $foo = {horse :func one=1 two=2 one=1}
197+ > .local $foo = {horse :ns: func one=1 two=2 one=1}
198198> {{This is {$foo}}}
199199> ```
200200
@@ -240,7 +240,7 @@ An **_<dfn>Unresolved Variable</dfn>_** error occurs when a variable reference c
240240> ```
241241>
242242> ```
243- > .input {$var :func}
243+ > .input {$var :ns: func}
244244> .match $var
245245> 1 {{The value is one.}}
246246> * {{The value is not one.}}
@@ -253,14 +253,14 @@ a reference to a function which cannot be resolved.
253253
254254> For example, attempting to format either of the following messages
255255> would result in an _Unknown Function_ error if done within a context that
256- > does not provide for the function `:func` to be successfully resolved:
256+ > does not provide for the function `:ns: func` to be successfully resolved:
257257>
258258> ```
259- > The value is {horse :func}.
259+ > The value is {horse :ns: func}.
260260> ```
261261>
262262> ```
263- > .local $horse = {|horse| :func}
263+ > .local $horse = {|horse| :ns: func}
264264> .match $horse
265265> 1 {{The value is one.}}
266266> * {{The value is not one.}}
@@ -297,26 +297,26 @@ Implementations MAY also provide implementation-defined _Message Function Error_
297297> an object `{ name: 'Kat', id: 1234 }`,
298298> 2. Provides for the variable reference `$field` to resolve to
299299> a string `'address'`, and
300- > 3. Uses a `:get` message function which requires its argument to be an object and
300+ > 3. Uses a `:ns: get` message function which requires its argument to be an object and
301301> an option `field` to be provided with a string value.
302302>
303303> The exact type of _Message Function Error_ is determined by the _function handler_.
304304>
305305> ```
306- > Hello, {horse :get field=name}!
306+ > Hello, {horse :ns: get field=name}!
307307> ```
308308>
309309> ```
310- > Hello, {$user :get}!
310+ > Hello, {$user :ns: get}!
311311> ```
312312>
313313> ```
314- > .local $id = {$user :get field=id}
315- > {{Hello, {$id :get field=name}!}}
314+ > .local $id = {$user :ns: get field=id}
315+ > {{Hello, {$id :ns: get field=name}!}}
316316> ```
317317>
318318> ```
319- > Your {$field} is {$id :get field=$field}
319+ > Your {$field} is {$id :ns: get field=$field}
320320> ```
321321
322322### Bad Operand
0 commit comments