Skip to content

Commit 9553b54

Browse files
committed
WIP
1 parent b696ec9 commit 9553b54

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

specification/dartLangSpec.tex

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23483,6 +23483,9 @@ \subsection{Same Type}
2348323483
where $C$ and $D$ have been resolved to denote the same declaration,
2348423484
or they are both \code{FutureOr},
2348523485
and $U_j$ is the same type as $V_j$ for all $j \in 1 .. s$.
23486+
\item $S$ is of the form $S'?$ and $T$ is of the form $T'?$,
23487+
and $S'$ is the same type as $T'$.
23488+
%% TODO(eernst): When records are added, add a record type case here.
2348623489
\item $S$ and $T$ are both positional function types with the same
2348723490
number of mandatory parameters and the same number of optional parameters,
2348823491
the same return type, and the same type for each of the parameters.
@@ -23502,6 +23505,13 @@ \subsection{Same Type}
2350223505
$S'$ and $T$ are the same type.
2350323506
\end{itemize}
2350423507

23508+
\LMHash{}%
23509+
For the purpose of the above test, \code{Object}, \code{dynamic},
23510+
\code{Null}, \code{Never}, \code{Function},
23511+
%% TODO(eernst): Add \code{Record},
23512+
and \code{Future} are considered to be introduced by a declaration in
23513+
\code{dart:core}.
23514+
2350523515

2350623516
\section{Reference}
2350723517
\LMLabel{reference}

0 commit comments

Comments
 (0)