Skip to content

Commit d469769

Browse files
committed
Rebase
1 parent f3b9cb6 commit d469769

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
@@ -11757,9 +11757,15 @@ \subsection{Function Expressions}
1175711757

1175811758
\item{} If $T$ implements \code{Future<$S$>}
1175911759
(\ref{interfaceSuperinterfaces})
11760-
then \DefEquals{\flatten{T}}{S}.
11761-
11762-
\item{} Otherwise, \DefEquals{\flatten{T}}{T}.
11760+
then \DefEquals{\Flatten{$T$}}{S}.
11761+
\item If $T$ is a $B$ bounded type variable
11762+
(\ref{typesBoundedByTypes})
11763+
or intersection type
11764+
(\ref{intersectionTypes})
11765+
where \SubtypeNE{\code{Object}}{B} then
11766+
\DefEquals{\Flatten{$T$}}{\code{Object?}}.
11767+
\item Otherwise,
11768+
\DefEquals{\Flatten{$T$}}{T}.
1176311769
\end{itemize}
1176411770

1176511771
\commentary{%

0 commit comments

Comments
 (0)