Skip to content

Commit 4ad6387

Browse files
committed
WIP
1 parent 8cc16f4 commit 4ad6387

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specification/dartLangSpec.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23632,7 +23632,7 @@ \section*{Appendix: Algorithmic Subtyping}
2363223632
then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{T_1} for some $i$.
2363323633
\item
2363423634
\textbf{Positional Function Types:}
23635-
$T_0$ is
23635+
If $T_0$ is
2363623636

2363723637
\code{$U_0$ \FUNCTION<%
2363823638
$X_0$\,\EXTENDS\,$B_{00}$, \ldots, $X_k$\,\EXTENDS\,$B_{0k}$>(%
@@ -23646,7 +23646,7 @@ \section*{Appendix: Algorithmic Subtyping}
2364623646
$S_0$\,$y_0$, \ldots, $S_p$\,$y_p$, %
2364723647
[$S_{p+1}$\,$y_{p+1}$, \ldots, $S_q$\,$y_q$])}
2364823648

23649-
such that each of the following criteria is satisfied,
23649+
then \SubtypeNE{T_0}{T_1} if{}f each of the following criteria is satisfied,
2365023650
where the $Z_i$ are fresh type variables with bounds
2365123651
$B_{0i}[Z_0/X_0, \ldots, Z_k/X_k]$:
2365223652

@@ -23661,7 +23661,7 @@ \section*{Appendix: Algorithmic Subtyping}
2366123661
\end{itemize}
2366223662
\item
2366323663
\textbf{Named Function Types:}
23664-
$T_0$ is
23664+
If $T_0$ is
2366523665

2366623666
\code{%
2366723667
$U_0$ \FUNCTION<$X_0$\,\EXTENDS\,$B_{00}$, \ldots, %
@@ -23679,7 +23679,7 @@ \section*{Appendix: Algorithmic Subtyping}
2367923679
\{$r_{1,n+1}$\,$S_{n+1}$\,$y_{n+1}$, \ldots, $r_{1q}$\,$S_q$\,$y_q$\})}
2368023680

2368123681
where $r_{1j}$ is empty or \REQUIRED{} for $j \in n+1 .. q$
23682-
and the following criteria are all satisfied,
23682+
then \SubtypeNE{T_0}{T_1} if{}f the following criteria are all satisfied,
2368323683
where \List{Z}{1}{k} are fresh type variables with bounds
2368423684
$B_{0i}[Z_0/X_0, \ldots, Z_k/X_k]$:
2368523685

0 commit comments

Comments
 (0)