From 7647957297384312b8ff0e6d7e35d893835a9e98 Mon Sep 17 00:00:00 2001 From: Niko Stotz Date: Tue, 19 Nov 2024 15:26:21 +0100 Subject: [PATCH] make sure mpsutil.compare.AreEqualExpression validates even without ignored properties or references --- .../languageModels/typesystem.mps | 102 +++++++++++------- .../com/mbeddr/mpsutil/compare/ts@tests.mps | 40 ++++++- 2 files changed, 104 insertions(+), 38 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps index 3948d0096d..8ea8a2b72c 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.compare/languageModels/typesystem.mps @@ -287,56 +287,86 @@ - - - - - - + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + - - - - - + + + + + + + + + + + - - + + + + + + + + + + + + + + - - + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps b/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps index 61db108eb0..b392c950d7 100644 --- a/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/tests/test.com.mbeddr.mpsutil.compare/models/test/com/mbeddr/mpsutil/compare/ts@tests.mps @@ -836,10 +836,10 @@ - + - + @@ -871,6 +871,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +