Skip to content

Commit 4f450ab

Browse files
committed
Improve commentary
1 parent 49307ea commit 4f450ab

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

specification/dartLangSpec.tex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11293,12 +11293,17 @@ \subsection{Function Expressions}
1129311293
\LMHash{}%
1129411294
When none of these cases are applicable,
1129511295
we say that $T$ does not have a future type.
11296-
\commentary{Note that if $T$ has a future type $F$ then \SubtypeNE{T}{F}.}
11296+
11297+
\commentary{%
11298+
Note that if $T$ has a future type $F$ then \SubtypeNE{T}{F},
11299+
and $F$ is always of the form \code{$G$<...>} or \code{$G$<...>?},
11300+
where $G$ is \code{Future} or \code{FutureOr}.%
11301+
}
1129711302

1129811303
\LMHash{}%
1129911304
We define the auxiliary function
11300-
\IndexCustom{\flatten{T}}{flatten(t)@\emph{flatten}$(T)$},
11301-
as follows, again using the first applicable case:
11305+
\IndexCustom{\flatten{T}}{flatten(t)@\emph{flatten}$(T)$}
11306+
as follows, using the first applicable case:
1130211307

1130311308
\begin{itemize}
1130411309
\item If $T$ is \code{$S$?}\ for some $S$

0 commit comments

Comments
 (0)