@@ -21657,15 +21657,15 @@ \subsubsection{Meta-Variables}
21657
21657
}
21658
21658
21659
21659
\LMHash{}%
21660
- In this section we use the following meta-variables:
21660
+ In this section (\ref{subtypes}) we use the following meta-variables,
21661
+ possibly with an index like $X_1$ or $S_j$:
21661
21662
21662
21663
\begin{itemize}
21663
21664
\item $X$ ranges over type variables.
21664
21665
\item $C$ ranges over classes,
21665
21666
\item $F$ ranges over type aliases.
21666
- \item $T$ and $S$ range over types, possibly with an index like $T_1$ or $S_j$.
21667
- \item $B$ ranges over types, again possibly with an index;
21668
- it is only used as a type variable bound.
21667
+ \item $T$ and $S$ range over types.
21668
+ \item $B$ ranges over types; it is only used as a type variable bound.
21669
21669
\item $r$ and $r'$ range over \REQUIRED{} or empty;
21670
21670
it is used to enable the specification of a named parameter
21671
21671
which may or may not have the modifier \REQUIRED.
@@ -21888,8 +21888,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
21888
21888
For example, rule~\SrnRightFutureOrA{} says that
21889
21889
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
21890
21890
and this is taken to mean that for any arbitrary types $S$ and $T$,
21891
- showing that $S$ is a subtype of $T$ is sufficient to show that $S$ is
21892
- a subtype of \code{FutureOr< $T$>} .
21891
+ in order to show that $S$ is a subtype of \code{FutureOr< $T$>}
21892
+ it is sufficient to show that $S$ is a subtype of $T$.
21893
21893
21894
21894
Another example is the wording in rule~\SrnReflexivity{}:
21895
21895
``\ldots{} in any environment $\Delta$'',
@@ -21916,7 +21916,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
21916
21916
Note that this implies that these types are equivalent
21917
21917
according to the subtype relation.
21918
21918
We denote these types,
21919
- and others with the same property (such as \code{FutureOr<Object>}),
21919
+ and others with the same property (such as \code{FutureOr<Object>? }),
21920
21920
as top types
21921
21921
(\ref{superBoundedTypes}).
21922
21922
\Item{\SrnLeftTop}{Left Top}
0 commit comments