Skip to content

Commit 0fd9980

Browse files
committed
Fix a couple of typos
1 parent f03027e commit 0fd9980

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

specification/dartLangSpec.tex

+7-7
Original file line numberDiff line numberDiff line change
@@ -21664,15 +21664,15 @@ \subsubsection{Meta-Variables}
2166421664
}
2166521665

2166621666
\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$:
2166821669

2166921670
\begin{itemize}
2167021671
\item $X$ ranges over type variables.
2167121672
\item $C$ ranges over classes,
2167221673
\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.
2167621676
\item $r$ and $r'$ range over \REQUIRED{} or empty;
2167721677
it is used to enable the specification of a named parameter
2167821678
which may or may not have the modifier \REQUIRED.
@@ -21895,8 +21895,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
2189521895
For example, rule~\SrnRightFutureOrA{} says that
2189621896
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
2189721897
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$.
2190021900

2190121901
Another example is the wording in rule~\SrnReflexivity{}:
2190221902
``\ldots{} in any environment $\Delta$'',
@@ -21923,7 +21923,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2192321923
Note that this implies that these types are equivalent
2192421924
according to the subtype relation.
2192521925
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>?}),
2192721927
as top types
2192821928
(\ref{superBoundedTypes}).
2192921929
\Item{\SrnLeftTop}{Left Top}

0 commit comments

Comments
 (0)