mps-coderules/samples
Fedor Isakov 25b82ebfb1 Redo fix of closure param type inference, drop typeScheme/2
The solution for inferring the type of a closure parameter using
auxiliary typeScheme/2 constraint and processing all "inference sites"
doesn't work for some situations, such as closure returning a closure with
untyped (var) parameter.

The new solution uses regular typeOf/2 constraint and calculates the
closure type assuming a variable as the return type. This must not be inferred from the context.

Avoid assigning a type to the closure the 2nd time, which
causes a cascade of typeOf/2 activations.
2022-11-23 14:03:19 +01:00
..
controlflow/jetbrains.mps.baseLanguageExt2 Apply all migrations from 2022.2 2022-11-21 11:25:13 +01:00
fitch Apply all migrations from 2022.2 2022-11-21 11:25:13 +01:00
lambdacalc Apply all migrations from 2022.2 2022-11-21 11:25:13 +01:00
mpscore Redo fix of closure param type inference, drop typeScheme/2 2022-11-23 14:03:19 +01:00