@@ -13154,7 +13154,7 @@ \subsection{Function Invocation}
13154
13154
returns the \FALSE{} object,
13155
13155
as must all further calls.
13156
13156
In this situation, the outcome of invoking \code{current} is undefined
13157
- ( \commentary{e.g., it could throw or return a default value}) .
13157
+ \commentary{( e.g., it could throw or return a default value)} .
13158
13158
\item
13159
13159
If it throws an exception object $e$ and stack trace $t$ then
13160
13160
the current invocation of \code{moveNext()} throws $e$ and $t$ as well.
@@ -15770,7 +15770,7 @@ \subsubsection{Instance Method Closurization}
15770
15770
The corresponding actual argument in the body is replaced by
15771
15771
\code{$p_j$\,\,\AS\,\,$T'_j$}
15772
15772
where $T'_j$ is the type which would be $T_j$ if $p_j$ had not been covariant
15773
- ( \commentary{that is, it is computed as specified below}) .
15773
+ \commentary{( that is, it is computed as specified below)} .
15774
15774
15775
15775
\commentary{%
15776
15776
This is concerned with the dynamic type of the function object obtained by
@@ -15784,7 +15784,7 @@ \subsubsection{Instance Method Closurization}
15784
15784
15785
15785
\LMHash{}%
15786
15786
Otherwise
15787
- ( \commentary{when $p_j$ is not covariant}) ,
15787
+ \commentary{( when $p_j$ is not covariant)} ,
15788
15788
if $T$ is a non-generic class then for $j \in 1 .. n+k$,
15789
15789
$T_j$ is a type annotation that denotes the same type
15790
15790
(\ref{typeType})
@@ -15936,7 +15936,7 @@ \subsubsection{Super Closurization}
15936
15936
The corresponding actual argument in the body is replaced by
15937
15937
\code{$p_j$\,\,\AS\,\,$T'_j$}
15938
15938
where $T'_j$ is the type which would be $T_j$ if $p_j$ had not been covariant
15939
- ( \commentary{that is, it is computed as specified below}) .
15939
+ \commentary{( that is, it is computed as specified below)} .
15940
15940
15941
15941
\commentary{%
15942
15942
This is concerned with the dynamic type of the function object obtained by
@@ -15950,7 +15950,7 @@ \subsubsection{Super Closurization}
15950
15950
15951
15951
\LMHash{}%
15952
15952
Otherwise
15953
- ( \commentary{when $p_j$ is not covariant}) ,
15953
+ \commentary{( when $p_j$ is not covariant)} ,
15954
15954
if $S$ is a non-generic class then for $j \in 1 .. n+k$,
15955
15955
$T_j$ is a type annotation that denotes the same type
15956
15956
(\ref{typeType})
@@ -16265,9 +16265,9 @@ \subsection{Null Shorting}
16265
16265
\LMHash{}%
16266
16266
We use the phrase null-shorting as an adjective in order to
16267
16267
indicate the connections between null shorting and other concepts
16268
- ( \commentary{%
16269
- e.g., ``the null-shorting translation is used during null shorting''%
16270
- }) .
16268
+ \commentary{%
16269
+ ( e.g., ``the null-shorting translation is used during null shorting'') %
16270
+ }.
16271
16271
16272
16272
\commentary{%
16273
16273
Let $e$ be an expression of the form
@@ -16309,7 +16309,7 @@ \subsection{Null Shorting}
16309
16309
\metaCode{fn[x:\,\,Exp]:\,\,Exp\,\,=>\,\,E}
16310
16310
defines a meta-level function of type
16311
16311
\metaCode{Exp\,\,$\rightarrow$\,\,Exp}
16312
- ( \commentary{that is, a function from expressions to expressions}) ,
16312
+ \commentary{( that is, a function from expressions to expressions)} ,
16313
16313
and
16314
16314
\metaCode{fn[k:\,\,Exp\,\,$\rightarrow$\,\,Exp]:\,\,Exp\,\,=>\,\,E}
16315
16315
defines a meta-level function of type
@@ -19515,7 +19515,7 @@ \subsection{If}
19515
19515
19516
19516
\LMHash{}%
19517
19517
Consider an \IF{} statement of any of the forms mentioned above
19518
- ( \commentary{the statement then starts with \code{\IF\,\,($e$)}}) .
19518
+ \commentary{( the statement then starts with \code{\IF\,\,($e$)})} .
19519
19519
It is a \Error{compile-time error} if the type of the expression $e$
19520
19520
is not assignable to \code{bool}.
19521
19521
@@ -22967,7 +22967,7 @@ \subsection{Subtypes}
22967
22967
22968
22968
\LMHash{}%
22969
22969
Intersection types
22970
- ( \commentary{types of the form \code{$X$\,\&\,$S$}}) ,
22970
+ \commentary{( types of the form \code{$X$\,\&\,$S$})} ,
22971
22971
may arise during static analysis due to type promotion
22972
22972
(\ref{typePromotion}).
22973
22973
They never occur during execution,
@@ -24647,10 +24647,10 @@ \subsection{Standard Upper Bounds and Standard Lower Bounds}
24647
24647
\item Each $B_{1i}$ and $B_{2i}$ are types with the same canonical syntax.
24648
24648
\item For each required entry named $n$ in $\metavar{Named}_1$,
24649
24649
$\metavar{Named}_2$ contains an entry named $n$
24650
- ( \commentary{which may or may not be required}) .
24650
+ \commentary{( which may or may not be required)} .
24651
24651
\item For each required entry named $n$ in $\metavar{Named}_2$,
24652
24652
$\metavar{Named}_1$ contains an entry named $n$
24653
- ( \commentary{which may or may not be required}) .
24653
+ \commentary{( which may or may not be required)} .
24654
24654
\end{itemize}
24655
24655
24656
24656
Then \DefEqualsNewline{\UpperBoundType{$U_1$}{$U_2$}}{%
@@ -26718,9 +26718,9 @@ \subsection{Type Promotion}
26718
26718
(\ref{localVariableDeclaration}).
26719
26719
This is the stack of types of interest
26720
26720
for the declaring occurrence of the name of $v$
26721
- ( \commentary{%
26722
- i.e., the very first time the variable is mentioned, \ref{variables}%
26723
- }) .
26721
+ \commentary{%
26722
+ ( i.e., the very first time the variable is mentioned, \ref{variables}) %
26723
+ }.
26724
26724
26725
26725
\LMHash{}%
26726
26726
If a local variable $v$ has an initializing expression
@@ -27000,9 +27000,9 @@ \section*{Appendix: Algorithmic Subtyping}
27000
27000
The algorithm must be performed such that the first case that matches
27001
27001
is always the case which is performed.
27002
27002
The algorithm produces results which are both positive and negative
27003
- ( \commentary{%
27004
- that is, in some situations the subtype relation is determined to be false%
27005
- }) ,
27003
+ \commentary{%
27004
+ ( that is, in some situations the subtype relation is determined to be false) %
27005
+ },
27006
27006
which is important for performance because
27007
27007
it is then unnecessary to consider any subsequent cases.
27008
27008
@@ -27049,9 +27049,9 @@ \section*{Appendix: Algorithmic Subtyping}
27049
27049
\item
27050
27050
if $T_0$ is \code{Null}, \DYNAMIC, \VOID, or \code{$S$?} for any $S$,
27051
27051
then the subtyping does not hold
27052
- ( \commentary{%
27053
- i.e., the result of the subtyping query is known to be false%
27054
- }) .
27052
+ \commentary{%
27053
+ ( i.e., the result of the subtyping query is known to be false) %
27054
+ }.
27055
27055
\item
27056
27056
Otherwise \SubtypeNE{T_0}{T_1} is true.
27057
27057
\end{itemize}
0 commit comments