mps-coderules/coderules/solutions
Grigorii Kirgizov e8cb6f9ad2 Add rule for determining correct type to bind inference variable to. Fixes MPSCR-13.
The inferred type can be either capture or type variable.
This logic is covered by a new rule 'inferFromCapture'.
For examples see 'Bounds' test sample.

This inference is used in call arguments type inference.
It happens on cases when bounds arise from several places:
 (a) bounds for inference variables from type vars declared in method signature (hasBound constraint)
 (b) bounds of type vars used as arguments to call (typeVariableType term wiht bounds inside)
 (c) bounds from captures on type variables from case (b), which come in the form of 'captureOf' term
2019-12-18 21:47:07 +03:00
..
jetbrains.mps.coderules Add rule for determining correct type to bind inference variable to. Fixes MPSCR-13. 2019-12-18 21:47:07 +03:00
jetbrains.mps.coderules.build Drop language j.m.l.smodel.types containing SNodeTypeOp that is no longer used. 2019-11-11 14:37:41 +01:00
jetbrains.mps.coderules.test Add explicit "test" facets to test solutions. 2019-11-24 17:58:15 +01:00
jetbrains.mps.coderules.typechecking Ensure typechecking cache is cleared on closing session. Closes MPSCR-23 2019-12-09 14:15:16 +01:00
jetbrains.mps.coderules.typechecking.test Add explicit "test" facets to test solutions. 2019-11-24 17:58:15 +01:00
jetbrains.mps.coderules.typechecking.testlang.sandbox Drop baseLanguage from imports in a sandbox model. 2019-09-05 22:56:11 +02:00
jetbrains.mps.coderules.typechecking.ui Make CoderulesHelper reference the relevant aspect clique. 2019-10-19 22:15:52 +02:00
jetbrains.mps.coderules.ui Fix memory leak: leaked through toolbar actions. 2019-09-30 16:44:36 +02:00
jetbrains.mps.controlflow Drop deprecated Reporting interface and all its usages. 2019-11-11 13:53:41 +01:00
jetbrains.mps.controlflow.ui Make CoderulesHelper reference the relevant aspect clique. 2019-10-19 22:15:52 +02:00
jetbrains.mps.lang.coderules.template Refactor RuleBuilder: extract RuleImpl as standalone class. 2019-12-11 11:42:31 +01:00
jetbrains.mps.lang.controlflow.runtime Refactor aspect lookup, introduce aspect clique to support multiple typesystems. 2019-08-12 18:21:38 +02:00
jetbrains.mps.lang.typechecking.runtime Refactor aspect lookup, introduce aspect clique to support multiple typesystems. 2019-08-12 18:21:38 +02:00
jetbrains.mps.logic.reactor Switch to reactor version 0.9.14. 2019-09-30 16:44:36 +02:00
jetbrains.mps.logic.test Add explicit "test" facets to test solutions. 2019-11-24 17:58:15 +01:00