Skip to content

Commit a1330dd

Browse files
committed
Fix a couple of typos
1 parent 325b9bc commit a1330dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

specification/dartLangSpec.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21981,15 +21981,15 @@ \subsubsection{Meta-Variables}
2198121981
}
2198221982

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

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

2222022220
Another example is the wording in rule~\SrnReflexivity{}:
2222122221
``\ldots{} in any environment $\Delta$'',
@@ -22242,7 +22242,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2224222242
Note that this implies that these types are equivalent
2224322243
according to the subtype relation.
2224422244
We denote these types,
22245-
and others with the same property (such as \code{FutureOr<Object>}),
22245+
and others with the same property (such as \code{FutureOr<Object>?}),
2224622246
as top types
2224722247
(\ref{superBoundedTypes}).
2224822248
\Item{\SrnLeftTop}{Left Top}
@@ -22360,7 +22360,7 @@ \subsubsection{Informal Subtype Rule Descriptions}
2236022360
that exists between two parameterized types based on $C$ and $D$.
2236122361
%
2236222362
%% TODO(eernst): Note that the specification of how to pass type arguments
22363-
%% \in ref{mixinApplication} is incorrect, and also that it will need to be
22363+
%% in \ref{mixinApplication} is incorrect, and also that it will need to be
2236422364
%% rewritten completely for the integration of the new mixin construct.
2236522365
The case where the superclass is a mixin application is covered via
2236622366
the equivalence with a declaration of

0 commit comments

Comments
 (0)