Skip to content

Commit bf98431

Browse files
committed
Fix a couple of typos
1 parent 4b74f72 commit bf98431

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

specification/dartLangSpec.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21846,15 +21846,15 @@ \subsubsection{Meta-Variables}
2184621846
}
2184721847

2184821848
\LMHash{}%
21849-
In this section we use the following meta-variables:
21849+
In this section (\ref{subtypes}) we use the following meta-variables,
21850+
possibly with an index like $X_1$ or $S_j$:
2185021851

2185121852
\begin{itemize}
2185221853
\item $X$ ranges over type variables.
2185321854
\item $C$ ranges over classes,
2185421855
\item $F$ ranges over type aliases.
21855-
\item $T$ and $S$ range over types, possibly with an index like $T_1$ or $S_j$.
21856-
\item $B$ ranges over types, again possibly with an index;
21857-
it is only used as a type variable bound.
21856+
\item $T$ and $S$ range over types.
21857+
\item $B$ ranges over types; it is only used as a type variable bound.
2185821858
\item $r$ and $r'$ range over \REQUIRED{} or empty;
2185921859
it is used to enable the specification of a named parameter
2186021860
which may or may not have the modifier \REQUIRED.
@@ -22077,8 +22077,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
2207722077
For example, rule~\SrnRightFutureOrA{} says that
2207822078
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
2207922079
and this is taken to mean that for any arbitrary types $S$ and $T$,
22080-
showing that $S$ is a subtype of $T$ is sufficient to show that $S$ is
22081-
a subtype of \code{FutureOr<$T$>}.
22080+
in order to show that $S$ is a subtype of \code{FutureOr<$T$>}
22081+
it is sufficient to show that $S$ is a subtype of $T$.
2208222082

2208322083
Another example is the wording in rule~\SrnReflexivity{}:
2208422084
``\ldots{} in any environment $\Delta$'',
@@ -22105,7 +22105,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2210522105
Note that this implies that these types are equivalent
2210622106
according to the subtype relation.
2210722107
We denote these types,
22108-
and others with the same property (such as \code{FutureOr<Object>}),
22108+
and others with the same property (such as \code{FutureOr<Object>?}),
2210922109
as top types
2211022110
(\ref{superBoundedTypes}).
2211122111
\Item{\SrnLeftTop}{Left Top}

0 commit comments

Comments
 (0)