@@ -21977,15 +21977,15 @@ \subsubsection{Meta-Variables}
21977
21977
}
21978
21978
21979
21979
\LMHash{}%
21980
- In this section we use the following meta-variables:
21980
+ In this section (\ref{subtypes}) we use the following meta-variables,
21981
+ possibly with an index like $X_1$ or $S_j$:
21981
21982
21982
21983
\begin{itemize}
21983
21984
\item $X$ ranges over type variables.
21984
21985
\item $C$ ranges over classes,
21985
21986
\item $F$ ranges over type aliases.
21986
- \item $T$ and $S$ range over types, possibly with an index like $T_1$ or $S_j$.
21987
- \item $B$ ranges over types, again possibly with an index;
21988
- it is only used as a type variable bound.
21987
+ \item $T$ and $S$ range over types.
21988
+ \item $B$ ranges over types; it is only used as a type variable bound.
21989
21989
\item $r$ and $r'$ range over \REQUIRED{} or empty;
21990
21990
it is used to enable the specification of a named parameter
21991
21991
which may or may not have the modifier \REQUIRED.
@@ -22210,8 +22210,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
22210
22210
For example, rule~\SrnRightFutureOrA{} says that
22211
22211
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
22212
22212
and this is taken to mean that for any arbitrary types $S$ and $T$,
22213
- showing that $S$ is a subtype of $T$ is sufficient to show that $S$ is
22214
- a subtype of \code{FutureOr< $T$>} .
22213
+ in order to show that $S$ is a subtype of \code{FutureOr< $T$>},
22214
+ it is sufficient to show that $S$ is a subtype of $T$.
22215
22215
22216
22216
Another example is the wording in rule~\SrnReflexivity{}:
22217
22217
``\ldots{} in any environment $\Delta$'',
@@ -22238,7 +22238,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
22238
22238
Note that this implies that these types are equivalent
22239
22239
according to the subtype relation.
22240
22240
We denote these types,
22241
- and others with the same property (such as \code{FutureOr<Object>}),
22241
+ and others with the same property (such as \code{FutureOr<Object>? }),
22242
22242
as top types
22243
22243
(\ref{superBoundedTypes}).
22244
22244
\Item{\SrnLeftTop}{Left Top}
@@ -22356,7 +22356,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
22356
22356
that exists between two parameterized types based on $C$ and $D$.
22357
22357
%
22358
22358
%% TODO(eernst): Note that the specification of how to pass type arguments
22359
- %% \ in ref{mixinApplication} is incorrect, and also that it will need to be
22359
+ %% in \ ref{mixinApplication} is incorrect, and also that it will need to be
22360
22360
%% rewritten completely for the integration of the new mixin construct.
22361
22361
The case where the superclass is a mixin application is covered via
22362
22362
the equivalence with a declaration of
0 commit comments