@@ -13161,7 +13161,7 @@ \subsection{Function Invocation}
13161
13161
returns the \FALSE{} object,
13162
13162
as must all further calls.
13163
13163
In this situation, the outcome of invoking \code{current} is undefined
13164
- ( \commentary{e.g., it could throw or return a default value}) .
13164
+ \commentary{( e.g., it could throw or return a default value)} .
13165
13165
\item
13166
13166
If it throws an exception object $e$ and stack trace $t$ then
13167
13167
the current invocation of \code{moveNext()} throws $e$ and $t$ as well.
@@ -15777,7 +15777,7 @@ \subsubsection{Instance Method Closurization}
15777
15777
The corresponding actual argument in the body is replaced by
15778
15778
\code{$p_j$\,\,\AS\,\,$T'_j$}
15779
15779
where $T'_j$ is the type which would be $T_j$ if $p_j$ had not been covariant
15780
- ( \commentary{that is, it is computed as specified below}) .
15780
+ \commentary{( that is, it is computed as specified below)} .
15781
15781
15782
15782
\commentary{%
15783
15783
This is concerned with the dynamic type of the function object obtained by
@@ -15791,7 +15791,7 @@ \subsubsection{Instance Method Closurization}
15791
15791
15792
15792
\LMHash{}%
15793
15793
Otherwise
15794
- ( \commentary{when $p_j$ is not covariant}) ,
15794
+ \commentary{( when $p_j$ is not covariant)} ,
15795
15795
if $T$ is a non-generic class then for $j \in 1 .. n+k$,
15796
15796
$T_j$ is a type annotation that denotes the same type
15797
15797
(\ref{typeType})
@@ -15943,7 +15943,7 @@ \subsubsection{Super Closurization}
15943
15943
The corresponding actual argument in the body is replaced by
15944
15944
\code{$p_j$\,\,\AS\,\,$T'_j$}
15945
15945
where $T'_j$ is the type which would be $T_j$ if $p_j$ had not been covariant
15946
- ( \commentary{that is, it is computed as specified below}) .
15946
+ \commentary{( that is, it is computed as specified below)} .
15947
15947
15948
15948
\commentary{%
15949
15949
This is concerned with the dynamic type of the function object obtained by
@@ -15957,7 +15957,7 @@ \subsubsection{Super Closurization}
15957
15957
15958
15958
\LMHash{}%
15959
15959
Otherwise
15960
- ( \commentary{when $p_j$ is not covariant}) ,
15960
+ \commentary{( when $p_j$ is not covariant)} ,
15961
15961
if $S$ is a non-generic class then for $j \in 1 .. n+k$,
15962
15962
$T_j$ is a type annotation that denotes the same type
15963
15963
(\ref{typeType})
@@ -16272,9 +16272,9 @@ \subsection{Null Shorting}
16272
16272
\LMHash{}%
16273
16273
We use the phrase null-shorting as an adjective in order to
16274
16274
indicate the connections between null shorting and other concepts
16275
- ( \commentary{%
16276
- e.g., ``the null-shorting translation is used during null shorting''%
16277
- }) .
16275
+ \commentary{%
16276
+ ( e.g., ``the null-shorting translation is used during null shorting'') %
16277
+ }.
16278
16278
16279
16279
\commentary{%
16280
16280
Let $e$ be an expression of the form
@@ -16316,7 +16316,7 @@ \subsection{Null Shorting}
16316
16316
\metaCode{fn[x:\,\,Exp]:\,\,Exp\,\,=>\,\,E}
16317
16317
defines a meta-level function of type
16318
16318
\metaCode{Exp\,\,$\rightarrow$\,\,Exp}
16319
- ( \commentary{that is, a function from expressions to expressions}) ,
16319
+ \commentary{( that is, a function from expressions to expressions)} ,
16320
16320
and
16321
16321
\metaCode{fn[k:\,\,Exp\,\,$\rightarrow$\,\,Exp]:\,\,Exp\,\,=>\,\,E}
16322
16322
defines a meta-level function of type
@@ -19522,7 +19522,7 @@ \subsection{If}
19522
19522
19523
19523
\LMHash{}%
19524
19524
Consider an \IF{} statement of any of the forms mentioned above
19525
- ( \commentary{the statement then starts with \code{\IF\,\,($e$)}}) .
19525
+ \commentary{( the statement then starts with \code{\IF\,\,($e$)})} .
19526
19526
It is a \Error{compile-time error} if the type of the expression $e$
19527
19527
is not assignable to \code{bool}.
19528
19528
@@ -22974,7 +22974,7 @@ \subsection{Subtypes}
22974
22974
22975
22975
\LMHash{}%
22976
22976
Intersection types
22977
- ( \commentary{types of the form \code{$X$\,\&\,$S$}}) ,
22977
+ \commentary{( types of the form \code{$X$\,\&\,$S$})} ,
22978
22978
may arise during static analysis due to type promotion
22979
22979
(\ref{typePromotion}).
22980
22980
They never occur during execution,
@@ -24654,10 +24654,10 @@ \subsection{Standard Upper Bounds and Standard Lower Bounds}
24654
24654
\item Each $B_{1i}$ and $B_{2i}$ are types with the same canonical syntax.
24655
24655
\item For each required entry named $n$ in $\metavar{Named}_1$,
24656
24656
$\metavar{Named}_2$ contains an entry named $n$
24657
- ( \commentary{which may or may not be required}) .
24657
+ \commentary{( which may or may not be required)} .
24658
24658
\item For each required entry named $n$ in $\metavar{Named}_2$,
24659
24659
$\metavar{Named}_1$ contains an entry named $n$
24660
- ( \commentary{which may or may not be required}) .
24660
+ \commentary{( which may or may not be required)} .
24661
24661
\end{itemize}
24662
24662
24663
24663
Then \DefEqualsNewline{\UpperBoundType{$U_1$}{$U_2$}}{%
@@ -26725,9 +26725,9 @@ \subsection{Type Promotion}
26725
26725
(\ref{localVariableDeclaration}).
26726
26726
This is the stack of types of interest
26727
26727
for the declaring occurrence of the name of $v$
26728
- ( \commentary{%
26729
- i.e., the very first time the variable is mentioned, \ref{variables}%
26730
- }) .
26728
+ \commentary{%
26729
+ ( i.e., the very first time the variable is mentioned, \ref{variables}) %
26730
+ }.
26731
26731
26732
26732
\LMHash{}%
26733
26733
If a local variable $v$ has an initializing expression
@@ -27007,9 +27007,9 @@ \section*{Appendix: Algorithmic Subtyping}
27007
27007
The algorithm must be performed such that the first case that matches
27008
27008
is always the case which is performed.
27009
27009
The algorithm produces results which are both positive and negative
27010
- ( \commentary{%
27011
- that is, in some situations the subtype relation is determined to be false%
27012
- }) ,
27010
+ \commentary{%
27011
+ ( that is, in some situations the subtype relation is determined to be false) %
27012
+ },
27013
27013
which is important for performance because
27014
27014
it is then unnecessary to consider any subsequent cases.
27015
27015
@@ -27056,9 +27056,9 @@ \section*{Appendix: Algorithmic Subtyping}
27056
27056
\item
27057
27057
if $T_0$ is \code{Null}, \DYNAMIC, \VOID, or \code{$S$?} for any $S$,
27058
27058
then the subtyping does not hold
27059
- ( \commentary{%
27060
- i.e., the result of the subtyping query is known to be false%
27061
- }) .
27059
+ \commentary{%
27060
+ ( i.e., the result of the subtyping query is known to be false) %
27061
+ }.
27062
27062
\item
27063
27063
Otherwise \SubtypeNE{T_0}{T_1} is true.
27064
27064
\end{itemize}
0 commit comments