Skip to content

Commit 0d46192

Browse files
committed
Rebase
1 parent c715315 commit 0d46192

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

specification/dartLangSpec.tex

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11743,26 +11743,17 @@ \subsection{Function Expressions}
1174311743
which is used below and in other sections, as follows:
1174411744

1174511745
\begin{itemize}
11746-
\item{} If $T$ is a type variable $X$ with bound $B$,
11746+
\item If $T$ is a type variable $X$ with bound $B$,
1174711747
or $T$ is an intersection type
1174811748
(\ref{intersectionTypes})
1174911749
\code{$X$\,\,\&\,\,$B$},
11750-
then \DefEquals{\flatten{T}}{\flatten{B}}.
11751-
11752-
\item{} If $T$ is \code{$S$?}\ for some $S$
11753-
then \DefEquals{\flatten{T}}{\code{\flatten{S}?}}.
11754-
11755-
\item{} If $T$ is \code{FutureOr<$S$>} then \DefEquals{\flatten{T}}{S}.
11756-
11757-
\item{} If $T$ implements \code{Future<$S$>}
11750+
then \DefEquals{\Flatten{$T$}}{\code{\Flatten{$B$}}}.
11751+
\item If $T$ is \code{$S$?}\ for some $S$
11752+
then \DefEquals{\Flatten{$T$}}{\code{\Flatten{$S$}?}}.
11753+
\item If $T$ is \code{FutureOr<$S$>} then \DefEquals{\Flatten{$T$}}{S}.
11754+
\item If $T$ implements \code{Future<$S$>}
1175811755
(\ref{interfaceSuperinterfaces})
1175911756
then \DefEquals{\Flatten{$T$}}{S}.
11760-
\item If $T$ is a $B$ bounded type variable
11761-
(\ref{typesBoundedByTypes})
11762-
or intersection type
11763-
(\ref{intersectionTypes})
11764-
where \SubtypeNE{\code{Object}}{B} then
11765-
\DefEquals{\Flatten{$T$}}{\code{Object?}}.
1176611757
\item Otherwise,
1176711758
\DefEquals{\Flatten{$T$}}{T}.
1176811759
\end{itemize}

0 commit comments

Comments
 (0)