We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e314f commit 1474c94Copy full SHA for 1474c94
specification/dartLangSpec.tex
@@ -23639,8 +23639,9 @@ \section*{Appendix: Algorithmic Subtyping}
23639
$T_0$ is a record type and $T_1$ is \RECORD.
23640
\item
23641
\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}.
+ If $T_0$ is an interface type \code{$C_0$<$S_0$, \ldots, $S_k$>}
+ 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$.
23645
23646
\textbf{Super-Interface:}
23647
$T_0$ is an interface type with super-interfaces \List{S}{0}{n}
0 commit comments