@@ -21664,15 +21664,15 @@ \subsubsection{Meta-Variables}
21664
21664
}
21665
21665
21666
21666
\LMHash{}%
21667
- In this section we use the following meta-variables:
21667
+ In this section (\ref{subtypes}) we use the following meta-variables,
21668
+ possibly with an index like $X_1$ or $S_j$:
21668
21669
21669
21670
\begin{itemize}
21670
21671
\item $X$ ranges over type variables.
21671
21672
\item $C$ ranges over classes,
21672
21673
\item $F$ ranges over type aliases.
21673
- \item $T$ and $S$ range over types, possibly with an index like $T_1$ or $S_j$.
21674
- \item $B$ ranges over types, again possibly with an index;
21675
- it is only used as a type variable bound.
21674
+ \item $T$ and $S$ range over types.
21675
+ \item $B$ ranges over types; it is only used as a type variable bound.
21676
21676
\item $r$ and $r'$ range over \REQUIRED{} or empty;
21677
21677
it is used to enable the specification of a named parameter
21678
21678
which may or may not have the modifier \REQUIRED.
@@ -21895,8 +21895,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
21895
21895
For example, rule~\SrnRightFutureOrA{} says that
21896
21896
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
21897
21897
and this is taken to mean that for any arbitrary types $S$ and $T$,
21898
- showing that $S$ is a subtype of $T$ is sufficient to show that $S$ is
21899
- a subtype of \code{FutureOr< $T$>} .
21898
+ in order to show that $S$ is a subtype of \code{FutureOr< $T$>}
21899
+ it is sufficient to show that $S$ is a subtype of $T$.
21900
21900
21901
21901
Another example is the wording in rule~\SrnReflexivity{}:
21902
21902
``\ldots{} in any environment $\Delta$'',
@@ -21923,7 +21923,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
21923
21923
Note that this implies that these types are equivalent
21924
21924
according to the subtype relation.
21925
21925
We denote these types,
21926
- and others with the same property (such as \code{FutureOr<Object>}),
21926
+ and others with the same property (such as \code{FutureOr<Object>? }),
21927
21927
as top types
21928
21928
(\ref{superBoundedTypes}).
21929
21929
\Item{\SrnLeftTop}{Left Top}
0 commit comments