Skip to content

Commit c715315

Browse files
committed
Rebase
1 parent 063cb2d commit c715315

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

specification/dartLangSpec.tex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11756,9 +11756,15 @@ \subsection{Function Expressions}
1175611756

1175711757
\item{} If $T$ implements \code{Future<$S$>}
1175811758
(\ref{interfaceSuperinterfaces})
11759-
then \DefEquals{\flatten{T}}{S}.
11760-
11761-
\item{} Otherwise, \DefEquals{\flatten{T}}{T}.
11759+
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?}}.
11766+
\item Otherwise,
11767+
\DefEquals{\Flatten{$T$}}{T}.
1176211768
\end{itemize}
1176311769

1176411770
\commentary{%

0 commit comments

Comments
 (0)