Skip to content

Commit a9f4886

Browse files
committed
Fix a couple of typos
1 parent ba8f9b7 commit a9f4886

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
@@ -21659,15 +21659,15 @@ \subsubsection{Meta-Variables}
2165921659
}
2166021660

2166121661
\LMHash{}%
21662-
In this section we use the following meta-variables:
21662+
In this section (\ref{subtypes}) we use the following meta-variables,
21663+
possibly with an index like $X_1$ or $S_j$:
2166321664

2166421665
\begin{itemize}
2166521666
\item $X$ ranges over type variables.
2166621667
\item $C$ ranges over classes,
2166721668
\item $F$ ranges over type aliases.
21668-
\item $T$ and $S$ range over types, possibly with an index like $T_1$ or $S_j$.
21669-
\item $B$ ranges over types, again possibly with an index;
21670-
it is only used as a type variable bound.
21669+
\item $T$ and $S$ range over types.
21670+
\item $B$ ranges over types; it is only used as a type variable bound.
2167121671
\item $r$ and $r'$ range over \REQUIRED{} or empty;
2167221672
it is used to enable the specification of a named parameter
2167321673
which may or may not have the modifier \REQUIRED.
@@ -21890,8 +21890,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
2189021890
For example, rule~\SrnRightFutureOrA{} says that
2189121891
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
2189221892
and this is taken to mean that for any arbitrary types $S$ and $T$,
21893-
showing that $S$ is a subtype of $T$ is sufficient to show that $S$ is
21894-
a subtype of \code{FutureOr<$T$>}.
21893+
in order to show that $S$ is a subtype of \code{FutureOr<$T$>}
21894+
it is sufficient to show that $S$ is a subtype of $T$.
2189521895

2189621896
Another example is the wording in rule~\SrnReflexivity{}:
2189721897
``\ldots{} in any environment $\Delta$'',
@@ -21918,7 +21918,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2191821918
Note that this implies that these types are equivalent
2191921919
according to the subtype relation.
2192021920
We denote these types,
21921-
and others with the same property (such as \code{FutureOr<Object>}),
21921+
and others with the same property (such as \code{FutureOr<Object>?}),
2192221922
as top types
2192321923
(\ref{superBoundedTypes}).
2192421924
\Item{\SrnLeftTop}{Left Top}

0 commit comments

Comments
 (0)