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 fe4d7ff commit d0c78d9Copy full SHA for d0c78d9
specification/dartLangSpec.tex
@@ -23474,8 +23474,9 @@ \section*{Appendix: Algorithmic Subtyping}
23474
$T_0$ is a record type and $T_1$ is \RECORD.
23475
\item
23476
\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}.
+ 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$>}
23479
+ then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{U_i} for each $i$.
23480
23481
\textbf{Super-Interface:}
23482
$T_0$ is an interface type with super-interfaces \List{S}{0}{n}
0 commit comments