Skip to content

Commit

Permalink
Fix a couple of typos
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed Sep 23, 2024
1 parent c61d0d5 commit b7cdb30
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21841,15 +21841,15 @@ \subsubsection{Meta-Variables}
}

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

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

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

0 comments on commit b7cdb30

Please sign in to comment.