Skip to content

Commit 1474c94

Browse files
committed
WIP
1 parent f0e314f commit 1474c94

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
@@ -23639,8 +23639,9 @@ \section*{Appendix: Algorithmic Subtyping}
2363923639
$T_0$ is a record type and $T_1$ is \RECORD.
2364023640
\item
2364123641
\textbf{Interface Compositionality:}
23642-
$T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
23643-
and $T_1$ is \code{$C_0$<$U_0$, \ldots, $U_k$>} and each \SubtypeNE{S_i}{U_i}.
23642+
If $T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
23643+
and $T_1$ is \code{$C_0$<$U_0$, \ldots, $U_k$>}
23644+
then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{U_i} for each $i$.
2364423645
\item
2364523646
\textbf{Super-Interface:}
2364623647
$T_0$ is an interface type with super-interfaces \List{S}{0}{n}

0 commit comments

Comments
 (0)