@@ -16330,8 +16330,9 @@ \subsection{Conditional}
16330
16330
\LMHash{}%
16331
16331
It is a compile-time error if
16332
16332
the static type of $e_1$ may not be assigned to \code{bool}.
16333
- The static type of $c$ is the least upper bound (\ref{leastUpperBounds}) of
16334
- the static type of $e_2$ and the static type of $e_3$.
16333
+ The static type of $c$ is the least upper bound
16334
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16335
+ of the static type of $e_2$ and the static type of $e_3$.
16335
16336
16336
16337
16337
16338
\subsection{If-null Expressions}
@@ -16356,8 +16357,9 @@ \subsection{If-null Expressions}
16356
16357
and then $e$ evaluates to $r$.
16357
16358
16358
16359
\LMHash{}%
16359
- The static type of $e$ is the least upper bound (\ref{leastUpperBounds}) of
16360
- the static type of $e_1$ and the static type of $e_2$.
16360
+ The static type of $e$ is the least upper bound
16361
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16362
+ of the static type of $e_1$ and the static type of $e_2$.
16361
16363
16362
16364
16363
16365
\subsection{Logical Boolean Expressions}
@@ -21854,6 +21856,9 @@ \subsection{Subtypes}
21854
21856
Intersection types are \emph{not} supported in general,
21855
21857
only in this special case.%
21856
21858
}
21859
+ Every other form of type may occur during static analysis
21860
+ as well as during execution,
21861
+ and the subtype relationship is always determined in the same way.
21857
21862
21858
21863
% Subtype Rule Numbering
21859
21864
\newcommand{\SrnReflexivity}{1}
@@ -24599,7 +24604,7 @@ \subsection{Function Types}
24599
24604
A function object is always an instance of some class $C$ that implements
24600
24605
the class \FUNCTION{} (\ref{functionType}),
24601
24606
and which has a method named \CALL,
24602
- whose header is such that its function type is $C$ itself.
24607
+ whose signature is the function type $C$ itself.
24603
24608
\commentary{%
24604
24609
Consequently, all function types are subtypes of \FUNCTION{}
24605
24610
(\ref{subtypes}).%
0 commit comments