@@ -16337,8 +16337,9 @@ \subsection{Conditional}
16337
16337
\LMHash{}%
16338
16338
It is a compile-time error if
16339
16339
the static type of $e_1$ may not be assigned to \code{bool}.
16340
- The static type of $c$ is the least upper bound (\ref{leastUpperBounds}) of
16341
- the static type of $e_2$ and the static type of $e_3$.
16340
+ The static type of $c$ is the least upper bound
16341
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16342
+ of the static type of $e_2$ and the static type of $e_3$.
16342
16343
16343
16344
16344
16345
\subsection{If-null Expressions}
@@ -16363,8 +16364,9 @@ \subsection{If-null Expressions}
16363
16364
and then $e$ evaluates to $r$.
16364
16365
16365
16366
\LMHash{}%
16366
- The static type of $e$ is the least upper bound (\ref{leastUpperBounds}) of
16367
- the static type of $e_1$ and the static type of $e_2$.
16367
+ The static type of $e$ is the least upper bound
16368
+ (\ref{standardUpperBoundsAndStandardLowerBounds})
16369
+ of the static type of $e_1$ and the static type of $e_2$.
16368
16370
16369
16371
16370
16372
\subsection{Logical Boolean Expressions}
@@ -21861,6 +21863,9 @@ \subsection{Subtypes}
21861
21863
Intersection types are \emph{not} supported in general,
21862
21864
only in this special case.%
21863
21865
}
21866
+ Every other form of type may occur during static analysis
21867
+ as well as during execution,
21868
+ and the subtype relationship is always determined in the same way.
21864
21869
21865
21870
% Subtype Rule Numbering
21866
21871
\newcommand{\SrnReflexivity}{1}
@@ -24606,7 +24611,7 @@ \subsection{Function Types}
24606
24611
A function object is always an instance of some class $C$ that implements
24607
24612
the class \FUNCTION{} (\ref{functionType}),
24608
24613
and which has a method named \CALL,
24609
- whose header is such that its function type is $C$ itself.
24614
+ whose signature is the function type $C$ itself.
24610
24615
\commentary{%
24611
24616
Consequently, all function types are subtypes of \FUNCTION{}
24612
24617
(\ref{subtypes}).%
0 commit comments