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