archives

« Bugzilla Issues Index

#2697 — chapter 14: misc editorial


----------------------------------------
In 14.1.9 "Static Semantics: IsAnonymousFunctionDefinition ( production) ...":

{1}
14.1.9:
Rename parameter 'production' to 'assignmentExpr'

{2}
14.1.9 / para 1:
The argument /production/ is is the result of parsing an /AssignmentExpression/.
Delete extra "is"

----------------------------------------
In 14.1.16 "Static Semantics: ReferencesSuper":

{3}
14.1.16 / header:
Static Semantics: ReferencesSuper
"ReferencesSuper" is serif italic, should be sans-serif upright.

{4}
14.1.16 / group 4 / production:
FormalParameters : FormalParametersList
s|ParametersList|ParameterList|

{5}
14.1.16 / group 4 / step 1:
Return /FormalParametersList/ Contains super.
s|ParametersList|ParameterList|

----------------------------------------
In 14.1.19 "Runtime Semantics: EvaluateBody":

{6}
14.1.19 / step 3:
If /result/.[[type]] is return then return NormalCompletion(/result/.[[value]])
Put the first 'return' in sans-serif.

----------------------------------------
In 14.1.22 "Runtime Semantics: Evaluation":

{7}
14.1.22 / group 1 / step 1:
Return NormalCompletion(empty)
Put 'empty' in sans-serif.

{8}
14.1.22 / group 3 / step 2:
Let /runningContext/ be running execution context's Lexical Environment.
After "be", insert "the"

----------------------------------------
In 14.2 "Arrow Function Definitions":

{9}
14.2 / Syntax / prod 1:
ArrowFunction[...] :
ArrowParameters[...] => ConciseBody[...]
Italicize 'ArrowFunction', 'ArrowParameters', 'ConciseBody'.

{10}
14.2 / Syntax / prod 2:
ArrowParameters[...] :
BindingIdentifier[...]
Italicize 'ArrowParameters', 'BindingIdentifier'.

----------------------------------------
In 14.2.2 "Static Semantics: BoundNames":

{11}
14.2.2 / group 1 / production:
ArrowParameters : CoverParenthesizedExpressionAndArrowParameterList
'ArrowParameters' and 'CoverParenthesizedExpressionAndArrowParameterList'
are in sans-serif italic, should be in serif italic.

----------------------------------------
In 14.2.5 "Static Semantics: CoveredFormalsList":

{12,13}
14.2.5 / group 1 / production:
ArrowParameters : BindingIdentifier
'ArrowFunction' and 'BindingIdentifier' is in sans-serif italic,
should be in serif italic.

----------------------------------------
In 14.2.12 "Static Semantics: ReferencesSuper":

{14}
14.2.12 / step 1:
Return false.
"false" is in monospace, should be in serif bold.

----------------------------------------
In 14.3.5 "Static Semantics: PropName":

{15}
14.3.5 / header:
Static Semantics: PropName
"PropName" is serif italic, should be sans-serif upright.

----------------------------------------
In 14.3.6 "Static Semantics: ReferencesSuper":

{16}
14.3.6 / header:
Static Semantics: ReferencesSuper
"ReferenceSuper" is serif italic, should be sans-serif upright.

----------------------------------------
In 14.3.7 "Static Semantics: SpecialMethod":

{17}
14.3.7 / header:
Static Semantics: SpecialMethod
"SpecialMethod" is serif italic, should be sans-serif upright.

----------------------------------------
In 14.4.4 "Static Semantics: Contains":

{18}
14.4.4 / group 1 / production:
... : function * BindingIdentifier ( FormalParameters ) { FunctionBody }
Terminal '}' is in serif italic, should be in upright monospace bold.

----------------------------------------
In 14.4.10 "Static Semantics: PropName":

{19}
14.4.10 / header:
Static Semantics: PropName
"PropName" is serif italic, should be sans-serif upright.

----------------------------------------
In 14.4.11 "Static Semantics: ReferencesSuper":

{20}
14.4.11 / header:
Static Semantics: ReferencesSuper
"ReferencesSuper" is serif italic, should be sans-serif upright.

{21}
14.4.11 / para 1:
See also: 14.1.16, ,14.2.12 14.3.6.
Move odd comma from before "14.2.12" to after it.

----------------------------------------
In 14.4.16 "Runtime Semantics: Evaluation":

{22}
14.4.16 / group 1 / step 1:
Return NormalCompletion(empty)
Put 'empty' in sans-serif.

{23}
14.4.16 / group 3 / step 3:
Let /runningContext/ be running execution context's Lexical Environment.
After "be", insert "the"

{24}
14.4.16 / group 6 / step 7.a:
If /received/.[[type]] is normal, then
Put 'normal' in sans-serif.

{25}
14.4.16 / group 6 / step 7.b.i:
Assert: /received/.[[type]] is throw.
Put 'throw' in sans-serif.

----------------------------------------
In 14.5.1 "Static Semantics: Early Errors":

{26}
14.5.1 / group 2 / item 1:
It is a Syntax Error if PrototypePropertyNameList of /ClassElementList/
/contains/ /any/ /duplicate/ /entries/, /unless/ /the/ /following/
/condition/ /is/ /true/ /for/ /each/ /duplicate/ /entry/: ...
De-italicize "contains any ... duplicate entry".

{27}
14.5.1 / group 2 / item 2:
It is a Syntax Error if StaticPropertyNameList of /ClassElementList/
/contains/ /any/ /duplicate/ /entries/, /unless/ /the/ /following/
/condition/ /is/ /true/ /for/ /each/ /duplicate/ /entry/: ...
De-italicize "contains any ... duplicate entry".

{28}
14.5.1 / group 3 / item 1:
It is a Syntax Error if PropName of /MethodDefinition/ /is/ "constructor"
/and/ /SpecialMethod/ /of/ /MethodDefinition/ /is/ */true/*.
De-italicize "is", "and SpecialMethod of", "is true"

{29}
14.5.1 / group 4 / item 1:
It is a Syntax Error if PropName of /MethodDefinition/ /is/ "prototype".
De-italicize "is"

----------------------------------------
In 14.5.4 "Static Semantics: Contains":

{30}
14.5.4 / step 2:
If /symbol/ is ClassHeritage, then
Italicize "ClassHeritage"

----------------------------------------
In 14.5.13 "Static Semantics: PropName":

{31}
14.5.13 / header:
Static Semantics: PropName
"PropName" is serif italic, should be sans-serif upright.

----------------------------------------
In 14.5.17 "Runtime Semantics: ClassDefinitionEvaluation":

{32}
14.5.17 / step 7:
If /constructor/ is empty, then
Put 'empty' in sans-serif.

----------------------------------------
In 14.6.2.2 "Expression Rules"

{33,34}
14.6.2.2 / group 2 / production:
Expression:
AssignmentExpression
Italicize 'Expression'
Italicize 'AssignmentExpression'

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


{1}, the argument isn't always an AssignmentExpression. Adjusted the comment accordingly.

otherwise, all fixed in rev15 editor's draft


(In reply to comment #1)
> {1}, the argument isn't always an AssignmentExpression. Adjusted the comment
> accordingly.

Ah, I should have looked rather than trust the preamble!


confirmed fixed except for:
part of {28}, re-raised as Bug 2949,
and {33}, re-raised as Bug 2950.