From ef53d284d130f1c60ef09c650ca516b0a998747d Mon Sep 17 00:00:00 2001 From: Tristan Date: Tue, 17 May 2022 16:05:59 +0200 Subject: [PATCH 1/3] Archive node usage in older node versions doesn't throw error. Fixes 3 --- .../Flint/models/Flint.typesystem.mps | 238 +++++++++++------- 1 file changed, 152 insertions(+), 86 deletions(-) diff --git a/code/languages/Flint/models/Flint.typesystem.mps b/code/languages/Flint/models/Flint.typesystem.mps index 23cdf56..5621130 100644 --- a/code/languages/Flint/models/Flint.typesystem.mps +++ b/code/languages/Flint/models/Flint.typesystem.mps @@ -99,6 +99,9 @@ + + + @@ -179,6 +182,7 @@ + @@ -206,6 +210,14 @@ + + + + + + + + @@ -1637,119 +1649,173 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + - - - - + - - - - - - - - + + + + + + + + + + - - + + + + + + + + + + - - - + + + - - - + + + + + + + + + + + + - From 10c25280efd05c39cea89eeecfcb4eec0102429c Mon Sep 17 00:00:00 2001 From: Tristan Date: Wed, 18 May 2022 13:40:23 +0200 Subject: [PATCH 2/3] Shifted obligatory role error from automatic MPS check to typesystem check --- .../Flint/models/Flint.typesystem.mps | 164 ++++++++++++++++-- 1 file changed, 148 insertions(+), 16 deletions(-) diff --git a/code/languages/Flint/models/Flint.typesystem.mps b/code/languages/Flint/models/Flint.typesystem.mps index 5621130..8d9b3da 100644 --- a/code/languages/Flint/models/Flint.typesystem.mps +++ b/code/languages/Flint/models/Flint.typesystem.mps @@ -14,7 +14,8 @@ - + + @@ -114,6 +115,9 @@ + + + @@ -187,6 +191,7 @@ + @@ -1799,23 +1804,16 @@ - - - - - - - - - - - + + + + + + - - - - + + @@ -1825,5 +1823,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From df6f2a5cb20b974451a9a9f15d0a971c5acb5ae5 Mon Sep 17 00:00:00 2001 From: Tristan Date: Wed, 18 May 2022 14:52:24 +0200 Subject: [PATCH 3/3] Fixed uniquelynamed, fixed tests, changed factreferences to 0..1 in act --- .../Flint/models/Flint.structure.mps | 4 -- .../Flint/models/Flint.typesystem.mps | 66 ++++++++++++------- 2 files changed, 44 insertions(+), 26 deletions(-) diff --git a/code/languages/Flint/models/Flint.structure.mps b/code/languages/Flint/models/Flint.structure.mps index 9c251f1..323cbfe 100644 --- a/code/languages/Flint/models/Flint.structure.mps +++ b/code/languages/Flint/models/Flint.structure.mps @@ -354,28 +354,24 @@ - - - - diff --git a/code/languages/Flint/models/Flint.typesystem.mps b/code/languages/Flint/models/Flint.typesystem.mps index 8d9b3da..9444110 100644 --- a/code/languages/Flint/models/Flint.typesystem.mps +++ b/code/languages/Flint/models/Flint.typesystem.mps @@ -21,6 +21,7 @@ + @@ -83,6 +84,9 @@ + + + @@ -942,10 +946,10 @@ - + @@ -1067,21 +1071,14 @@ - - - - + + + + - - - - - - - - - + + @@ -1804,16 +1801,41 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -