From 3f490f9b6e76e94ccac3f892a827bccfe22e015c Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Fri, 3 May 2024 17:37:26 +0200 Subject: [PATCH] Fix New Constraint generation --- constraints.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/constraints.tex b/constraints.tex index d137dd8..d3a282d 100644 --- a/constraints.tex +++ b/constraints.tex @@ -291,12 +291,12 @@ cannot be used anywhere else then inside the constraints generated by the method \typeExpr{} &({\mtypeEnvironment} , \texttt{new}\ \type{C}(\overline{e}), \tv{a}) = \\ & \begin{array}{ll} \textbf{let} - & \ol{\tv{r}} \ \text{fresh} \\ - & \overline{\consSet} = \typeExpr({\mtypeEnvironment}, \overline{e}, \ol{\tv{r}}) \\ - & C = \set{\ol{\tv{r}} \lessdot [\ol{\tv{a}}/\ol{X}]\ol{T}, \ol{\tv{a}} \lessdot \ol{N} \mid \texttt{class}\ \exptype{C}{\ol{X} \triangleleft \ol{N}} \set{ \ol{T\ f}; \ldots}} \\ + & \ol{\ntv{r}}, \ol{\ntv{a}} \ \text{fresh} \\ + & \overline{\consSet} = \typeExpr({\mtypeEnvironment}, \overline{e}, \ol{\ntv{r}}) \\ + & C = \set{\ol{\ntv{r}} \lessdot [\ol{\ntv{a}}/\ol{X}]\ol{T}, \ol{\ntv{a}} \lessdot \ol{N} \mid \texttt{class}\ \exptype{C}{\ol{X} \triangleleft \ol{N}} \set{ \ol{T\ f}; \ldots}} \\ {\mathbf{in}} & { \overline{\consSet} \cup - \set{\tv{a} \doteq \exptype{C}{\ol{a}}}} + \set{\tv{a} \doteq \exptype{C}{\ol{\ntv{a}}}}} \end{array} \end{array} \end{displaymath}