Skip to content

Commit 6c2ee89

Browse files
committed
WIP
1 parent 78a0a9c commit 6c2ee89

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
@@ -23424,6 +23424,9 @@ \subsection{Same Type}
2342423424
where $C$ and $D$ have been resolved to denote the same declaration,
2342523425
or they are both \code{FutureOr},
2342623426
and $U_j$ is the same type as $V_j$ for all $j \in 1 .. s$.
23427+
\item $S$ is of the form $S'?$ and $T$ is of the form $T'?$,
23428+
and $S'$ is the same type as $T'$.
23429+
%% TODO(eernst): When records are added, add a record type case here.
2342723430
\item $S$ and $T$ are both positional function types with the same
2342823431
number of mandatory parameters and the same number of optional parameters,
2342923432
the same return type, and the same type for each of the parameters.
@@ -23443,6 +23446,13 @@ \subsection{Same Type}
2344323446
$S'$ and $T$ are the same type.
2344423447
\end{itemize}
2344523448

23449+
\LMHash{}%
23450+
For the purpose of the above test, \code{Object}, \code{dynamic},
23451+
\code{Null}, \code{Never}, \code{Function},
23452+
%% TODO(eernst): Add \code{Record},
23453+
and \code{Future} are considered to be introduced by a declaration in
23454+
\code{dart:core}.
23455+
2344623456

2344723457
\section{Reference}
2344823458
\LMLabel{reference}

0 commit comments

Comments
 (0)