From 791df0fe1911bd2f4071ab6fcbb0dac570ba73f3 Mon Sep 17 00:00:00 2001 From: Fedor Isakov Date: Wed, 1 Nov 2017 11:19:39 +0100 Subject: [PATCH] Replace ad-hoc logic value access with valueOf. Replace static method calls with equals constraints. Remove dead code. --- .../models/sample.lambdacalc.types.mps | 451 +++++------------- 1 file changed, 122 insertions(+), 329 deletions(-) diff --git a/samples/lambdacalc/languages/sample.lambdacalc/models/sample.lambdacalc.types.mps b/samples/lambdacalc/languages/sample.lambdacalc/models/sample.lambdacalc.types.mps index 9e51e691..b8e04b0f 100644 --- a/samples/lambdacalc/languages/sample.lambdacalc/models/sample.lambdacalc.types.mps +++ b/samples/lambdacalc/languages/sample.lambdacalc/models/sample.lambdacalc.types.mps @@ -293,6 +293,9 @@ + + + @@ -320,13 +323,6 @@ - - - - - - - @@ -2726,24 +2722,20 @@ - - - - - + + + + + + + + + + - - - - - - - - - - - + + @@ -2760,33 +2752,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -2905,19 +2889,15 @@ - - - - - - - - - - - - + + + + + + + + @@ -2933,28 +2913,24 @@ - - - - - - - - - - - - + + + + + + + + - + - + - - + + @@ -3004,18 +2980,14 @@ - - - - - - - - - - - - + + + + + + + + @@ -3102,136 +3074,61 @@ - - - - - - - - - - - - + + + + + - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + @@ -3312,45 +3209,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - + @@ -3366,90 +3243,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -