Skip to content

Commit 3b1038e

Browse files
committed
Rebase
1 parent 342d8b7 commit 3b1038e

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

1175411754
\item{} If $T$ implements \code{Future<$S$>}
1175511755
(\ref{interfaceSuperinterfaces})
11756-
then \DefEquals{\flatten{T}}{S}.
11757-
11758-
\item{} Otherwise, \DefEquals{\flatten{T}}{T}.
11756+
then \DefEquals{\Flatten{$T$}}{S}.
11757+
\item If $T$ is a $B$ bounded type variable
11758+
(\ref{typesBoundedByTypes})
11759+
or intersection type
11760+
(\ref{intersectionTypes})
11761+
where \SubtypeNE{\code{Object}}{B} then
11762+
\DefEquals{\Flatten{$T$}}{\code{Object?}}.
11763+
\item Otherwise,
11764+
\DefEquals{\Flatten{$T$}}{T}.
1175911765
\end{itemize}
1176011766

1176111767
\commentary{%

0 commit comments

Comments
 (0)