Skip to content

Commit d0c78d9

Browse files
committed
WIP
1 parent fe4d7ff commit d0c78d9

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
@@ -23474,8 +23474,9 @@ \section*{Appendix: Algorithmic Subtyping}
2347423474
$T_0$ is a record type and $T_1$ is \RECORD.
2347523475
\item
2347623476
\textbf{Interface Compositionality:}
23477-
$T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
23478-
and $T_1$ is \code{$C_0$<$U_0$, \ldots, $U_k$>} and each \SubtypeNE{S_i}{U_i}.
23477+
If $T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
23478+
and $T_1$ is \code{$C_0$<$U_0$, \ldots, $U_k$>}
23479+
then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{U_i} for each $i$.
2347923480
\item
2348023481
\textbf{Super-Interface:}
2348123482
$T_0$ is an interface type with super-interfaces \List{S}{0}{n}

0 commit comments

Comments
 (0)