archives

« Bugzilla Issues Index

#2428 — metavariables in upright font


A bunch of metavariables that were italic in rev21 are now in an upright font (in the PDF at least).

E.g.:
5.3 / alg 1 / step 1.b.i 'contained'
6.2.2.4 / alg 2 / step 2 'argument'
12.2.2.1 / alg 1 / step 5 'propertyNameValue'
12.2.5.2 / alg 2 / step 1 'propertyKey'
12.2.5.2 / alg 2 / step 2 'strict'
14.5.16 / alg 1 / step 1 'className'
14.5.16 / alg 1 / step 2 'value'
14.5.16 / alg 1 / step 4 'hasNameProperty'
14.5.16 / alg 1 / step 7 'env'
14.5.16 / alg 1 / step 8 'status'

This is a brief list because I'm hoping that you can fix *all* cases just by repairing a document style. If that's not the case, I could work on a fuller list.

(Either way, it's somewhat annoying to get regressions in old, supposedly stable parts of the spec. Is there some way to prevent it happening again?)


In a message today in es-discuss, AWB said "sure, add the complete list", so here it is (60 corrections on 37 lines):

5.3 / alg 1 / step 1.b.i
Let contained be the result of /sym/ Contains /symbol/.
italicize "contained"

6.2.2.4 / alg 2 / step 1
If argument is an abrupt completion, then return argument.
italicize "argument"
italicize "argument"

6.2.2.4 / alg 2 / step 2
Else if argument is a Completion Record,
then let argument be argument.[[value]].
italicize "argument"
italicize "argument"
italicize "argument"

6.2.6.2 / alg 1 / step 7.a
Set toBlock[toIndex] to the value of fromBlock[fromIndex].
italicize "toBlock"
italicize "toIndex"
italicize "fromBlock"
italicize "fromIndex"

9.2.13 / alg 1 / step 3
Assert: Type(newName) is one of Undefined, String, or Symbol.
italicize "newName"

11.6 / para 4
... are only required to do bitwise comparison on IdentifierName values).
italicize "IdentifierName" ?

12.2.2.1 / alg 1 / step 5
Let propertyNameValue be GetValue(propertyNameReference).
italicize "propertyNameValue"
italicize "propertyNameReference"

12.2.5.2 / alg 2 / step 1
Let propertyKey be StringValue of IdentifierName.
italicize "propertyKey"
italicize "IdentifierName"

12.2.5.2 / alg 2 / step 2
If the code matched by the syntactic production that is being evaluated
is strict mode code, let strict be *true*, else let strict be *false*.
italicize "strict"
italicize "strict"

12.2.5.2 / alg 2 / step 3
Return the result of MakeSuperReference(propertyKey, strict).
italicize "propertyKey"
italicize "strict"

14.5.16 / alg 1 / step 1
Let className be StringValue of BindingIdentifier.
italicize "className"
italicize "BindingIdentifier"

14.5.16 / alg 1 / step 2
Let value be the result of ClassDefinitionEvaluation of /ClassTail/
with argument className
italicize "value"
italicize "className"

14.5.16 / alg 1 / step 3
ReturnIfAbrupt(value).
italicize "value"

14.5.16 / alg 1 / step 4
Let hasNameProperty be the result of HasOwnProperty(value, "name").
italicize "hasNameProperty"
italicize "value"

14.5.16 / alg 1 / step 5
ReturnIfAbrupt(hasNameProperty).
italicize "hasNameProperty"

14.5.16 / alg 1 / step 6
If hasNameProperty is *false*, then
italicize "hasNameProperty"

14.5.16 / alg 1 / step 6.a
Perform SetFunctionName(value, className).
italicize "value"
italicize "className"

14.5.16 / alg 1 / step 7
Let env be the running execution context's LexicalEnvironment.
italicize "env"

14.5.16 / alg 1 / step 8
Let status be the result of performing BindingInitialisation
for BindingIdentifier passing value and env as the arguments.
italicize "status"
italicize "BindingIdentifier"
italicize "value"
italicize "env"

14.5.16 / alg 1 / step 9
ReturnIfAbrupt(status).
italicize "status"

14.6.2 / alg 19 / step 1
If this /CallExpression/ is nonterminal, then return *true*.
italicize "nonterminal"

15.2.1.2 / alg 4 / step 3
Return names.
italicize "names"

15.2.1.2 / alg 5 / step 3
Return names.
italicize "names"

15.2.3.2 / Table 34 / [[Kind]]
... the module is declarative, and load.[[Body]] contains a Module parse.
italicize "load" ?

15.2.3.2 / Table 34 / [[Dependencies]]
... from declaration in load.[[Body]], ...
italicize "load" ?

15.2.6.1 / alg 1 / step 2
Assert: load.[[Status]] is "linked".
italicize "load"

15.2.6.1 / alg 1 / step 3
Let /module/ be load.[[Module]].
italicize "load"

15.2.6.2 / alg 1 / step 7
Let status be the result of performing
ModuleDeclarationInstantiation(/mod/.[[Body]], /mod/.[[Environment]]).
italicize "status"

18.2.6.4 / alg 1 / step 4
Return the result of calling Encode(/uriString/, unescapedURISet)
italicize "unescapedURISet"

19.1.2.1 / alg 1 / step 9.d.v.1
Let propValue be Get(from, nextKey).
italicize "propValue"
italicize "from"
italicize "nextKey"

19.1.2.1 / alg 1 / step 9.d.v.2
If propValue is an abrupt completion, then
italicize "propValue"

19.1.2.1 / alg 1 / step 9.d.v.2.a
If pendingException is *undefined*, then set pendingException to propValue.
italicize "pendingException"
italicize "pendingException"
italicize "propValue"

19.1.2.1 / alg 1 / step 9.d.v.3.b.i
If pendingException is *undefined*, then set pendingException to status.
italicize "pendingException"
italicize "pendingException"
italicize "status"

19.1.3.6 / alg 1 / step 19
Return the String value that is the result of concatenating
the three Strings "[object ", tag, and "]".
italicize "tag"

24.1.1.2 / alg 1 / step 1
ReturnIfAbrupt(arrayBuffer).
italicize "arrayBuffer"

25.4.4.5 / alg 1 / step 4
Let /rejectResult/ be the result of calling the [[Call]] internal method
of /promiseCapability/.[[Reject]] with *undefined* as /thisArgument/ and
List(r) as /argumentsList/.
italicize "r"

26.3.3 / alg 1 / step 1
If Type(/value/) is Object and value has a [[LoaderRecord]] internal slot,
italicize "value"


fixed in rev25 editor's draft


confirmed fixed.