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 3125ac2 commit 241e02aCopy full SHA for 241e02a
specification/dartLangSpec.tex
@@ -23623,8 +23623,9 @@ \section*{Appendix: Algorithmic Subtyping}
23623
$T_0$ is a record type and $T_1$ is \RECORD.
23624
\item
23625
\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}.
+ 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$>}
23628
+ then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{U_i} for each $i$.
23629
23630
\textbf{Super-Interface:}
23631
$T_0$ is an interface type with super-interfaces \List{S}{0}{n}
0 commit comments