@@ -11744,26 +11744,17 @@ \subsection{Function Expressions}
1174411744which is used below and in other sections, as follows:
1174511745
1174611746\begin{itemize}
11747- \item{} If $T$ is a type variable $X$ with bound $B$,
11747+ \item If $T$ is a type variable $X$ with bound $B$,
1174811748 or $T$ is an intersection type
1174911749 (\ref{intersectionTypes})
1175011750 \code{$X$\,\,\&\,\,$B$},
11751- then \DefEquals{\flatten{T}}{\flatten{B}}.
11752-
11753- \item{} If $T$ is \code{$S$?}\ for some $S$
11754- then \DefEquals{\flatten{T}}{\code{\flatten{S}?}}.
11755-
11756- \item{} If $T$ is \code{FutureOr<$S$>} then \DefEquals{\flatten{T}}{S}.
11757-
11758- \item{} If $T$ implements \code{Future<$S$>}
11751+ then \DefEquals{\Flatten{$T$}}{\code{\Flatten{$B$}}}.
11752+ \item If $T$ is \code{$S$?}\ for some $S$
11753+ then \DefEquals{\Flatten{$T$}}{\code{\Flatten{$S$}?}}.
11754+ \item If $T$ is \code{FutureOr<$S$>} then \DefEquals{\Flatten{$T$}}{S}.
11755+ \item If $T$ implements \code{Future<$S$>}
1175911756 (\ref{interfaceSuperinterfaces})
1176011757 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?}}.
1176711758\item Otherwise,
1176811759 \DefEquals{\Flatten{$T$}}{T}.
1176911760\end{itemize}
0 commit comments