Skip to content

Commit

Permalink
Review response
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed Jan 30, 2024
1 parent 4fbc769 commit e2c4e68
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
% version of the language which will actually be specified by the next stable
% release of this document.
%
% Jan 2024
% - Correct the rule about deriving a future type from a type (which is used
% by `flatten`).
%
% Dec 2023
% - Allow `~/` on operands of type `double` in constant expressions, aligning
% the specification with already implemented behavior.
Expand Down Expand Up @@ -11743,16 +11747,11 @@ \subsection{Function Expressions}
$B$ derives the future type $F$,
then $T$ derives the future type $F$.
\item
If $T$ is of the form \code{$X$\,\&\,$S$} then:
\begin{itemize}
\item
if $S$ derives the future type $F$,
then $T$ derives the future type $F$.
\item
if $B$ does not derive a future type,
but $X$ derives the future type $F$,
then $T$ derives the future type $F$.
\end{itemize}
\commentary{%
There is no rule for the case where $T$ is of the form \code{$X$\,\&\,$S$}
because this will never occur
(this concept is only used in \flattenName, which is defined below).%
}
\end{itemize}

\LMHash{}%
Expand Down

0 comments on commit e2c4e68

Please sign in to comment.