Skip to content

Commit 241e02a

Browse files
committed
WIP
1 parent 3125ac2 commit 241e02a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

specification/dartLangSpec.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23623,8 +23623,9 @@ \section*{Appendix: Algorithmic Subtyping}
2362323623
$T_0$ is a record type and $T_1$ is \RECORD.
2362423624
\item
2362523625
\textbf{Interface Compositionality:}
23626-
$T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
23627-
and $T_1$ is \code{$C_0$<$U_0$, \ldots, $U_k$>} and each \SubtypeNE{S_i}{U_i}.
23626+
If $T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
23627+
and $T_1$ is \code{$C_0$<$U_0$, \ldots, $U_k$>}
23628+
then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{U_i} for each $i$.
2362823629
\item
2362923630
\textbf{Super-Interface:}
2363023631
$T_0$ is an interface type with super-interfaces \List{S}{0}{n}

0 commit comments

Comments
 (0)