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