@@ -11743,26 +11743,17 @@ \subsection{Function Expressions}
11743
11743
which is used below and in other sections, as follows:
11744
11744
11745
11745
\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$,
11747
11747
or $T$ is an intersection type
11748
11748
(\ref{intersectionTypes})
11749
11749
\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$>}
11758
11755
(\ref{interfaceSuperinterfaces})
11759
11756
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
11757
\item Otherwise,
11767
11758
\DefEquals{\Flatten{$T$}}{T}.
11768
11759
\end{itemize}
0 commit comments