Fix S-Extends
This commit is contained in:
parent
a3d92c2b1d
commit
132f34e2b9
@ -95,12 +95,12 @@ $\begin{array}{l}
|
||||
$\begin{array}{l}
|
||||
\typerule{S-Extends}\\
|
||||
\begin{array}{@{}c}
|
||||
\texttt{class}\ \exptype{C}{\overline{\type{X} \triangleleft \type{U}}} \triangleleft \exptype{D}{\ol{S}} \ \{ \ldots \} \\
|
||||
\texttt{class}\ \exptype{C}{\overline{\type{X} \triangleleft \type{U}}} \triangleleft \type{N} \ \{ \ldots \} \\
|
||||
\ol{X} \cap \text{dom}(\Delta) = \emptyset
|
||||
\\
|
||||
\hline
|
||||
\vspace*{-0.3cm}\\
|
||||
\Delta \vdash \wcNtype{\Delta'}{\type{N}} <: \wcNtype{\Delta'}{[\ol{T}/\ol{X}]\type{N}}
|
||||
\Delta \vdash \wctype{\Delta'}{C}{\ol{T}} <: \wcNtype{\Delta'}{[\ol{T}/\ol{X}]\type{N}}
|
||||
\end{array}
|
||||
\end{array}$
|
||||
$\begin{array}{l}
|
||||
|
Loading…
Reference in New Issue
Block a user