Skip to content

Commit a45f92f

Browse files
committed
Fix a couple of typos
1 parent a62d181 commit a45f92f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

specification/dartLangSpec.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21977,15 +21977,15 @@ \subsubsection{Meta-Variables}
2197721977
}
2197821978

2197921979
\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$:
2198121982

2198221983
\begin{itemize}
2198321984
\item $X$ ranges over type variables.
2198421985
\item $C$ ranges over classes,
2198521986
\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.
2198921989
\item $r$ and $r'$ range over \REQUIRED{} or empty;
2199021990
it is used to enable the specification of a named parameter
2199121991
which may or may not have the modifier \REQUIRED.
@@ -22210,8 +22210,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
2221022210
For example, rule~\SrnRightFutureOrA{} says that
2221122211
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
2221222212
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$.
2221522215

2221622216
Another example is the wording in rule~\SrnReflexivity{}:
2221722217
``\ldots{} in any environment $\Delta$'',
@@ -22238,7 +22238,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2223822238
Note that this implies that these types are equivalent
2223922239
according to the subtype relation.
2224022240
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>?}),
2224222242
as top types
2224322243
(\ref{superBoundedTypes}).
2224422244
\Item{\SrnLeftTop}{Left Top}
@@ -22356,7 +22356,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2235622356
that exists between two parameterized types based on $C$ and $D$.
2235722357
%
2235822358
%% 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
2236022360
%% rewritten completely for the integration of the new mixin construct.
2236122361
The case where the superclass is a mixin application is covered via
2236222362
the equivalence with a declaration of

0 commit comments

Comments
 (0)