Skip to content

Commit b7cdb30

Browse files
committed
Fix a couple of typos
1 parent c61d0d5 commit b7cdb30

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
@@ -21841,15 +21841,15 @@ \subsubsection{Meta-Variables}
2184121841
}
2184221842

2184321843
\LMHash{}%
21844-
In this section we use the following meta-variables:
21844+
In this section (\ref{subtypes}) we use the following meta-variables,
21845+
possibly with an index like $X_1$ or $S_j$:
2184521846

2184621847
\begin{itemize}
2184721848
\item $X$ ranges over type variables.
2184821849
\item $C$ ranges over classes,
2184921850
\item $F$ ranges over type aliases.
21850-
\item $T$ and $S$ range over types, possibly with an index like $T_1$ or $S_j$.
21851-
\item $B$ ranges over types, again possibly with an index;
21852-
it is only used as a type variable bound.
21851+
\item $T$ and $S$ range over types.
21852+
\item $B$ ranges over types; it is only used as a type variable bound.
2185321853
\item $r$ and $r'$ range over \REQUIRED{} or empty;
2185421854
it is used to enable the specification of a named parameter
2185521855
which may or may not have the modifier \REQUIRED.
@@ -22072,8 +22072,8 @@ \subsubsection{Informal Subtype Rule Descriptions}
2207222072
For example, rule~\SrnRightFutureOrA{} says that
2207322073
``The type $S$ is a \ldots{} of \code{FutureOr<$T$>} \ldots'',
2207422074
and this is taken to mean that for any arbitrary types $S$ and $T$,
22075-
showing that $S$ is a subtype of $T$ is sufficient to show that $S$ is
22076-
a subtype of \code{FutureOr<$T$>}.
22075+
in order to show that $S$ is a subtype of \code{FutureOr<$T$>}
22076+
it is sufficient to show that $S$ is a subtype of $T$.
2207722077

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

0 commit comments

Comments
 (0)