Skip to content

Commit 082c391

Browse files
committed
Fix a couple of typos
1 parent f6b071c commit 082c391

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
@@ -21657,15 +21657,15 @@ \subsubsection{Meta-Variables}
2165721657
}
2165821658

2165921659
\LMHash{}%
21660-
In this section we use the following meta-variables:
21660+
In this section (\ref{subtypes}) we use the following meta-variables,
21661+
possibly with an index like $X_1$ or $S_j$:
2166121662

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

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

0 commit comments

Comments
 (0)