From 73f610b5977b5d2197bd9728409c084879359525 Mon Sep 17 00:00:00 2001 From: Fedor Isakov Date: Tue, 24 Nov 2020 13:22:24 +0100 Subject: [PATCH] Introduce new kind of typechecking query, typeOf, having a subject. This query kind is to be used in local typechecking. The idea is to do away with constraints that are not essential for typechecking a single node, thus making local type computation faster. --- ...ins.mps.coderules.typechecking.service.mps | 348 ++++++++++++++++-- 1 file changed, 315 insertions(+), 33 deletions(-) diff --git a/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.service.mps b/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.service.mps index 4baf4112..2a256d8f 100644 --- a/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.service.mps +++ b/coderules/solutions/jetbrains.mps.coderules.typechecking/models/jetbrains.mps.coderules.typechecking.service.mps @@ -8221,25 +8221,6 @@ - - - - - - - - - - - - - - - - - - - @@ -8262,7 +8243,7 @@ - + @@ -8270,12 +8251,6 @@ - - - - - - @@ -8309,7 +8284,7 @@ - + @@ -8397,7 +8372,7 @@ - + @@ -8589,7 +8564,7 @@ - + @@ -8974,7 +8949,7 @@ - + @@ -9036,8 +9011,178 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -9136,7 +9281,7 @@ - + @@ -9256,7 +9401,7 @@ - + @@ -13316,6 +13461,7 @@ + @@ -13366,6 +13512,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13752,6 +13968,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13858,6 +14121,7 @@ + @@ -13877,6 +14141,7 @@ + @@ -13899,6 +14164,7 @@ + @@ -21443,5 +21709,21 @@ + + + + + + + + + + + + + + + +