Change prepare rule to require same type on both sides
This commit is contained in:
parent
bc4fcaf43c
commit
56f9d35615
@ -380,15 +380,15 @@ Their upper and lower bounds are fresh type variables.
|
|||||||
\begin{array}[c]{@{}ll}
|
\begin{array}[c]{@{}ll}
|
||||||
\begin{array}[c]{l}
|
\begin{array}[c]{l}
|
||||||
\wildcardEnv \vdash
|
\wildcardEnv \vdash
|
||||||
C \cup \, \set{ \wcNtype{\Delta}{S} \lessdot \wcNtype{\Delta'}{N} } \\
|
C \cup \, \set{ \wctype{\Delta}{C}{\ol{S}} \lessdot \wctype{\Delta'}{C}{\ol{T}} } \\
|
||||||
\hline
|
\hline
|
||||||
\vspace*{-0.4cm}\\
|
\vspace*{-0.4cm}\\
|
||||||
\wildcardEnv \vdash
|
\wildcardEnv \vdash
|
||||||
C \cup \, \set{ \wcNtype{\Delta}{S} \lessdotCC \wcNtype{\Delta'}{N} } \\
|
C \cup \, \set{ \wctype{\Delta}{C}{\ol{S}} \lessdotCC \wctype{\Delta'}{C}{\ol{T}} } \\
|
||||||
\end{array}
|
\end{array}
|
||||||
%\quad \ol{Y} = \textit{fresh}(\ol{X})
|
%\quad \ol{Y} = \textit{fresh}(\ol{X})
|
||||||
\quad \begin{array}[c]{l}
|
\quad \begin{array}[c]{l}
|
||||||
\text{fv}(\wcNtype{\Delta}{S}, \wcNtype{\Delta'}{N}) = \emptyset
|
\text{fv}(\wctype{\Delta}{C}{\ol{S}}, \wctype{\Delta'}{C}{\ol{T}}) = \emptyset
|
||||||
\end{array}
|
\end{array}
|
||||||
\end{array}
|
\end{array}
|
||||||
$
|
$
|
||||||
|
Loading…
Reference in New Issue
Block a user