From 6fcdd5370e1dfd22ad1d3e2000b766a750363f7e Mon Sep 17 00:00:00 2001 From: Mihail Buryakov Date: Tue, 8 Dec 2015 17:48:08 +0300 Subject: [PATCH] lightweight solver: handle new java constraints --- .../mps/typechecking/solving/plugin.mps | 37 +++- .../mps/typechecking/solving/solver.mps | 193 ++++++++++-------- 2 files changed, 142 insertions(+), 88 deletions(-) diff --git a/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/plugin.mps b/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/plugin.mps index 5fa38cce..9726a2fa 100644 --- a/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/plugin.mps +++ b/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/plugin.mps @@ -131,7 +131,9 @@ - + + + @@ -693,9 +695,30 @@ - + + - + + + + + + + + + + + + + + + + + + + + + @@ -715,6 +738,14 @@ + + + + + + + + diff --git a/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/solver.mps b/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/solver.mps index 7535a76e..fdb2a9b8 100644 --- a/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/solver.mps +++ b/solutions/jetbrains.mps.typechecking.solving/models/jetbrains/mps/typechecking/solving/solver.mps @@ -27,6 +27,7 @@ + @@ -1929,13 +1930,38 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1943,12 +1969,33 @@ - - - + + + + + + + + + + + + + + + + + + + + + + - - + + + + @@ -1958,55 +2005,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -2298,9 +2302,9 @@ - - - + + + @@ -2313,7 +2317,7 @@ - + @@ -2331,12 +2335,12 @@ - + - + @@ -2345,19 +2349,12 @@ - - - - - - - - - - - - - + + + + + + @@ -2513,6 +2510,11 @@ + + + + + @@ -2526,7 +2528,7 @@ - + @@ -2534,7 +2536,7 @@ - + @@ -2556,7 +2558,7 @@ - + @@ -2569,7 +2571,7 @@ - + @@ -2607,7 +2609,7 @@ - + @@ -2620,7 +2622,7 @@ - + @@ -2633,13 +2635,13 @@ - + - + @@ -2701,6 +2703,12 @@ + + + + + + @@ -2741,7 +2749,10 @@ - + + + + @@ -2767,6 +2778,18 @@ + + + + + + + + + + + +