Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed Oct 18, 2024
1 parent f4bfd29 commit 4ceb6be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specification/dartLangSpec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23483,7 +23483,7 @@ \section*{Appendix: Algorithmic Subtyping}
then \SubtypeNE{T_0}{T_1} if{}f \SubtypeNE{S_i}{T_1} for some $i$.
\item
\textbf{Positional Function Types:}
$T_0$ is
If $T_0$ is

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

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

Expand All @@ -23512,7 +23512,7 @@ \section*{Appendix: Algorithmic Subtyping}
\end{itemize}
\item
\textbf{Named Function Types:}
$T_0$ is
If $T_0$ is

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

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

Expand Down

0 comments on commit 4ceb6be

Please sign in to comment.