Skip to content

Commit

Permalink
Added commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed Jan 18, 2024
1 parent c2f7859 commit 93549ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11762,7 +11762,12 @@ \subsection{Function Expressions}
\commentary{%
Note that if $T$ derives a future type $F$ then \SubtypeNE{T}{F},
and $F$ is always of the form \code{$G$<...>} or \code{$G$<...>?},
where $G$ is \code{Future} or \code{FutureOr}.%
where $G$ is \code{Future} or \code{FutureOr}.
Also note that 'derives' in this context refers to the computation
where a type $T$ is given, the supertypes of $T$ are searched,
and a type of one of those forms is selected.
There is no connection to the notion of a 'derived class' meaning 'subclass'
that some programming language communities use.%
}

\LMHash{}%
Expand Down

0 comments on commit 93549ec

Please sign in to comment.