From 2528d7e7974f2cc4f9c96e3314a6d7ab80264705 Mon Sep 17 00:00:00 2001 From: Klaus Birken Date: Wed, 26 Aug 2026 12:12:42 +0200 Subject: [PATCH 01/19] Fix update strategy for feature attribute assignments (issue #1921). Details: - Add test to reproduce the problem - Add fix for iets3.os issue and prepare fixing iets3.core issue - Refactor code by introducing ArgumentValueList - Update CHANGELOG.md - Fix findings from review --- CHANGELOG.md | 4 + ....variability.configuration.base.plugin.mps | 963 +++++++++++++----- .../org/iets3/opensource/build/build.mps | 25 + ...ity.configuration.base.attribute@tests.mps | 263 +++++ ...g.iets3.variability.configuration.base.msd | 7 + 5 files changed, 986 insertions(+), 276 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f84285be..41e2f19969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,13 @@ Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelo The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month. ## August 2026 + ### Fixed - Improve uniqueness name check of `IFunctionLike` `getUniquelyNamedElements()` behavior to avoid overzealous checking. +- Variability: Feature attribute values are not overwritten anymore if the value stays the same. This avoids changing the model if not necessary, esp. it avoids merge conflicts. ## July 2026 + ### Added - IFunctionLike takes arguments and named body content into account when performing ab uniqueness name check - Developer tooling: the repository now ships an `iets3-os-developer` agent skill (under `.claude/skills/`) capturing repo-specific MPS language-engineering knowledge (variability, KernelF, physical units) for AI-assisted development with Claude Code. @@ -17,6 +20,7 @@ The project does _not_ follow Semantic Versioning and the changes are documented ### Fixed - Variability: `EvalVarPointCache.flushCaches()` was a no-op when the variability-aware artifact (IVAA) was implemented as a node attribute (annotation). + ## June 2026 ### Added diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps b/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps index 529f146d28..2f2367e9db 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps @@ -17,6 +17,7 @@ + @@ -522,15 +523,21 @@ + + + + + + @@ -540,6 +547,10 @@ + + + + @@ -7760,22 +7771,11 @@ - + + - - - - - - - - - - - - - - + + @@ -7798,7 +7798,6 @@ - @@ -7815,16 +7814,8 @@ - - - - - - - - - - + + @@ -7871,7 +7862,7 @@ - + @@ -7899,16 +7890,8 @@ - - - - - - - - - - + + @@ -7941,17 +7924,10 @@ - - - - - - - - - - - + + + + @@ -7973,32 +7949,20 @@ - + - - - - - - - - + + + + - - - - - - - - - - + + @@ -8093,68 +8057,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -8242,7 +8144,7 @@ - + @@ -8305,100 +8207,61 @@ - - - - - - - - - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - + + - - - + + + - + - - - - + + + + - + - - - - @@ -8558,6 +8421,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8571,6 +8531,7 @@ + @@ -9664,6 +9625,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9678,24 +9665,16 @@ - - - - - - - - - - - + + + - + @@ -9712,27 +9691,10 @@ - + - - - - - - - - - - - - - - - - - - - + + @@ -9748,6 +9710,9 @@ + + + @@ -9993,7 +9958,7 @@ - + @@ -10020,10 +9985,16 @@ - + + + + + + + @@ -10528,22 +10499,21 @@ - - - - - - - - - + + + - - - + + + + + + + + - - + + @@ -10569,10 +10539,10 @@ - + - + @@ -10831,10 +10801,30 @@ - + + + + + + + + + + + + + + + + + + + + + @@ -10854,11 +10844,11 @@ - - + + - + @@ -10874,28 +10864,46 @@ - - - - - + + + + + - - + + + + + - - - + - - - - - + + + + + + + + + + + + + + + - - + + + + + + + + + @@ -10912,6 +10920,12 @@ + + + + + + @@ -11133,6 +11147,9 @@ + + + @@ -11638,7 +11655,7 @@ - + @@ -12274,5 +12291,399 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps index bcca0317e4..447c7aebff 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps @@ -17438,6 +17438,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps index 823d4fcbfa..679df4c602 100644 --- a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps @@ -11,12 +11,15 @@ + + + @@ -43,6 +46,7 @@ + @@ -57,6 +61,9 @@ + + + @@ -69,6 +76,9 @@ + + + @@ -101,6 +111,7 @@ + @@ -119,6 +130,9 @@ + + + @@ -205,10 +219,20 @@ + + + + + + + + + + @@ -218,6 +242,9 @@ + + + @@ -227,8 +254,19 @@ + + + + + + + + + + + @@ -355,6 +393,7 @@ + @@ -577,5 +616,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd index a9c064cd1c..bdfb289071 100644 --- a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd +++ b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd @@ -18,6 +18,11 @@ c1fcd3e0-0603-4035-834f-14c6337eec24(test.org.iets3.common.base) 964a5657-7374-4fbd-970e-fec8637b6a01(test.org.iets3.variability.configuration.base.ext) 707c4fde-f79a-44b5-b3d7-b5cef8844ccf(jetbrains.mps.lang.test.runtime) + 49808fad-9d41-4b96-83fa-9231640f6b2b(JUnit) + 39983771-4e9b-401b-a1a9-1da6c777c843(MPS.ThirdParty) + b0f8641f-bd77-4421-8425-30d9088a82f7(org.apache.commons) + cfaa4966-b7d5-4b69-b66a-309a6e1a7290(org.iets3.core.expr.base) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) @@ -69,6 +74,7 @@ + @@ -104,6 +110,7 @@ + From 5c86bdbb48b5552554e74dd698ba5849c763df04 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:17:00 +0000 Subject: [PATCH 02/19] Update Gradle to v9.7.1 --- gradle/wrapper/gradle-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index c6f915a79d..8c15739002 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.0-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-all.zip networkTimeout=10000 retries=0 retryBackOffMs=500 From 9276d360669eda1c7c18b02dac4a9135a977b4ce Mon Sep 17 00:00:00 2001 From: Klaus Birken Date: Mon, 31 Aug 2026 08:39:06 +0200 Subject: [PATCH 03/19] Reapply update of test build script after merge. --- .../org/iets3/opensource/build/build.mps | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps index ee676c84ee..94dd1678b4 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps @@ -17183,6 +17183,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + From 866d485e975acf2704727d7f2bceac2ce3db9e19 Mon Sep 17 00:00:00 2001 From: Klaus Birken Date: Mon, 31 Aug 2026 10:01:26 +0200 Subject: [PATCH 04/19] Move physunits test into the tests group in the build script. --- .../org/iets3/opensource/build/build.mps | 128 +++++++++--------- 1 file changed, 61 insertions(+), 67 deletions(-) diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps index 94dd1678b4..a2c59764c3 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps @@ -35,9 +35,6 @@ - - - @@ -17684,6 +17681,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -18223,74 +18281,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From bbd5bc2ecc85fa2284841be901e866e32f2b0ea0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 08:23:28 +0000 Subject: [PATCH 05/19] Update dependency com.jetbrains:mps to v2025.1.3 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f213b7d311..9fd91d6b95 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -mpsVersion = "2025.1.2" +mpsVersion = "2025.1.3" mpsQaVersion = "2025.1.1438.801e837" # if you want to build against a specific mbeddr branch, prepend it here with a dot. # NOTE: instances of '/' in the branch name need to be replaced by '-' From 2fc952afc7ae9e3375ccaf49fa81d8a8ee8fbd44 Mon Sep 17 00:00:00 2001 From: Klaus Birken Date: Tue, 1 Sep 2026 12:03:12 +0200 Subject: [PATCH 06/19] Run migrate/remigrate. --- ....variability.configuration.base.plugin.mps | 22 ++--- ...ity.configuration.base.attribute@tests.mps | 84 +++++++++---------- ...g.iets3.variability.configuration.base.msd | 2 +- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps b/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps index 6b059956a5..b341b46c4b 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.variability.configuration.base/models/org.iets3.variability.configuration.base.plugin.mps @@ -522,15 +522,21 @@ + + + + + + @@ -540,21 +546,15 @@ + + + + - - - - - - - - - - @@ -10562,7 +10562,7 @@ - + diff --git a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps index 2b070e996f..71b3c9c4e9 100644 --- a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/models/test.org.iets3.variability.configuration.base.attribute@tests.mps @@ -37,44 +37,44 @@ - + - + - + - - + + - + - + - + - + - + - + - + @@ -82,7 +82,7 @@ - + @@ -94,49 +94,49 @@ - + - - + + - + - + - - + + - + - + - + - + - + - + - + @@ -188,14 +188,14 @@ - + - + - + @@ -222,14 +222,14 @@ - + - + - + @@ -238,13 +238,13 @@ - + - + - + @@ -257,20 +257,20 @@ - + - + - - + + - - + + diff --git a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd index 0dfcf4205d..7d2578c747 100644 --- a/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd +++ b/code/languages/org.iets3.opensource/tests/test.org.iets3.variability.configuration.base/test.org.iets3.variability.configuration.base.msd @@ -64,12 +64,12 @@ + - From 7adae98c4aea552b53bff25a3a89a8813452cbe0 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Mon, 24 Aug 2026 11:28:09 +0200 Subject: [PATCH 07/19] Fix NullPointerException in RecordValue.equals Comparing member values used Object.equals, which throws when a member is present but mapped to null. Use the null-safe :ne: operator instead. Co-Authored-By: Claude Opus 5 --- .../org/iets3/core/expr/toplevel/plugin.mps | 42 +++++++++---------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps index 54c8724587..00c5a40f15 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps @@ -127,6 +127,7 @@ + @@ -822,34 +823,29 @@ - - - - - - - - - - - - - - - - + + + + + + - - - - - - - + + + + + + + + + + + + From c3fc529774e13f2ab52a87e24e537786ae3018b9 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Mon, 24 Aug 2026 11:30:33 +0200 Subject: [PATCH 08/19] Align RecordValue.equals with hashCode hashCode hashed memberData and recordDeclaration, while equals compared only memberData, so two record values with equal members but different record declarations were equal with differing hash codes. Compare the record declaration in equals as well. Co-Authored-By: Claude Opus 5 --- .../org/iets3/core/expr/toplevel/plugin.mps | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps index 00c5a40f15..b8987ed8cf 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps @@ -744,6 +744,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + From ae746d79843fd73227f8c7e06408f60c1679e7b7 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Wed, 26 Aug 2026 14:05:46 +0200 Subject: [PATCH 09/19] Make EnumLiteral an ISmartReferent, drop QualifierRef References to literals of a qualified enum were rendered as "Enum:literal" in the editor but keyed on the bare literal name everywhere else. That mismatch is the bug: when such a reference broke, the auto-resolve quick fix matched the persisted bare name and silently rebound it to a same-named literal in a different enum, changing the text the editor shows. Make the two namespaces agree, and let MPS's own machinery do the rest: - EnumLiteral implements ISmartReferent and overrides getPresentation(reference) with the new presentableName() -- qualified when the enum is, bare otherwise. This feeds NodePresentationUtil#presentation and, through the default cascade, getVisibleMatchingText. - A constraints property getter computes IResolveInfo#resolveInfo from the same method. That is the resolution namespace: it keys ListScope#forResolvableElements, it is what getMatchingText falls through to, and ResolveInfoUpdater rewrites every reference's persisted resolve= string from it on save. Computed, never stored -- as baseLanguage's Classifier does for nested class names. EnumLiteral was already an IResolveInfo via IValidNamedConcept; only the getter was missing. - The EnumLiteralRef editor uses a ref-presentation cell, so the cell and the completion row read that one method instead of two functions that happened to agree. The cell gets an explicit id so editor tests need not name a generated one. That makes the special-casing unnecessary, so it goes: - QualifierRef, the auxiliary two-step concept for reaching a qualified enum's literals, with its editor and constraints. It had no instances, no typesystem rule, and was always an error node when persisted. - Both hand-written EnumLiteralRef substitute menus. MPS regenerates the equivalent from the implicit smart reference attribute, and it now reads its matching text from ISmartReferent. - The qualified filter in the EnumLiteralRef scope. What keeps a qualified enum's literals out of the general completion list is PatternUtil requiring the first typed character to match, so they surface only once the enum name is typed. renderReadable() now agrees with the editor for qualified enums. Five EditorTestCases in test.kernelf.editor.enums cover bare-name binding, the cross-enum case that motivated this, the negative case, the qualified name, and retyping to a sibling literal. Co-Authored-By: Claude Opus 5 --- .../org/iets3/core/expr/toplevel/behavior.mps | 81 ++- .../iets3/core/expr/toplevel/constraints.mps | 295 ++-------- .../org/iets3/core/expr/toplevel/editor.mps | 556 +----------------- .../iets3/core/expr/toplevel/structure.mps | 34 +- .../models/test.in.expr.os.records@tests.mps | 3 - .../test.kernelf.editor.enums@tests.mps | 422 +++++++++++++ 6 files changed, 552 insertions(+), 839 deletions(-) create mode 100644 code/languages/org.iets3.opensource/tests/test.kernelf.editor/models/test.kernelf.editor.enums@tests.mps diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps index 1bd015bd77..b5f51560c6 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps @@ -6629,8 +6629,8 @@ - - + + @@ -6700,6 +6700,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps index f81efa5147..e309e1a378 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps @@ -142,9 +142,7 @@ - - @@ -154,7 +152,6 @@ - @@ -168,22 +165,6 @@ - - - - - - - - - - - - - - - - @@ -221,9 +202,6 @@ - - - @@ -1353,127 +1331,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - + + - - - - - - - - - @@ -1846,129 +1731,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2198,5 +1960,24 @@ + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps index 0bd27ca493..f16446ce2b 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps @@ -89,9 +89,6 @@ - - - @@ -170,6 +167,7 @@ + @@ -181,7 +179,6 @@ - @@ -220,7 +217,6 @@ - @@ -264,12 +260,8 @@ - - - - @@ -281,6 +273,7 @@ + @@ -332,15 +325,10 @@ + - - - - - - @@ -517,9 +505,6 @@ - - - @@ -595,10 +580,6 @@ - - - - @@ -613,9 +594,6 @@ - - - @@ -709,7 +687,6 @@ - @@ -723,14 +700,6 @@ - - - - - - - - @@ -4123,57 +4092,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - + + + + @@ -6472,217 +6403,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6798,55 +6518,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6855,213 +6526,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/structure.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/structure.mps index 6a9a157b40..3c8c7a2110 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/structure.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/structure.mps @@ -27,9 +27,6 @@ - - - @@ -46,9 +43,6 @@ - - - @@ -650,6 +644,9 @@ + + + @@ -1228,31 +1225,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.records@tests.mps b/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.records@tests.mps index f761ff599d..628718041d 100644 --- a/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.records@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.records@tests.mps @@ -4534,9 +4534,6 @@ - - - diff --git a/code/languages/org.iets3.opensource/tests/test.kernelf.editor/models/test.kernelf.editor.enums@tests.mps b/code/languages/org.iets3.opensource/tests/test.kernelf.editor/models/test.kernelf.editor.enums@tests.mps new file mode 100644 index 0000000000..90a1729abd --- /dev/null +++ b/code/languages/org.iets3.opensource/tests/test.kernelf.editor/models/test.kernelf.editor.enums@tests.mps @@ -0,0 +1,422 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 390837ee1e0c27c462379d131df6aabda2e1a69e Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Mon, 24 Aug 2026 14:08:59 +0200 Subject: [PATCH 10/19] IFunctionLike: ignore commented out code in unique name check getUniquelyNamedElements() collected ValExpression/LocalVarDeclExpr from thisNode.body.descendants, which also walks into BaseCommentAttribute children. Commented out declarations therefore reached check_ContainerOfUniqueNames and were reported as duplicate names. Skip elements that have a BaseCommentAttribute ancestor. BlockExpression's implementation needs no change, since it reads the expressions role directly and commented out children do not live there. Adds a NodesTestCase commentedOutUniqueNames covering a commented out val duplicating a live val and a commented out local var duplicating an argument. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 1 + .../models/behavior.mps | 107 ++++++++++-------- .../models/test/ts/expr/os/m1@tests.mps | 59 ++++++++++ 3 files changed, 122 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5ec4bbd1..fd6dbf3cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The project does _not_ follow Semantic Versioning and the changes are documented ### Fixed - Improve uniqueness name check of `IFunctionLike` `getUniquelyNamedElements()` behavior to avoid overzealous checking. - Variability: Feature attribute values are not overwritten anymore if the value stays the same. This avoids changing the model if not necessary, esp. it avoids merge conflicts. +- `IFunctionLike` `getUniquelyNamedElements()` no longer reports duplicate names for commented out code. ## July 2026 diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.lambda/models/behavior.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.lambda/models/behavior.mps index 8151d357bd..c6dae4ff37 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.lambda/models/behavior.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.lambda/models/behavior.mps @@ -2059,68 +2059,85 @@ - - - - - - - - - + + + + + + - - - - - - - - - + + + + - - - - - - - - + + - - - - - + + + - - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + @@ -2484,7 +2501,7 @@ - + diff --git a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps index 578363ee19..241ca8f425 100644 --- a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps @@ -20,6 +20,7 @@ + @@ -37866,5 +37867,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From c41a733f928db2ea473e30f0b7d319208379f46a Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Mon, 24 Aug 2026 11:50:19 +0200 Subject: [PATCH 11/19] Fix RecordValue.compareTo for inline records and null member values compareTo threw a NullPointerException for a record value without a record declaration -- what the interpreter builds for inline records -- because effectiveMembers() returns null for a null node. Such a record now compares by member name instead. Member values that were null were skipped entirely, which made the ordering intransitive: {y:1} vs {y:null} and {y:null} vs {y:2} both compared equal while {y:1} vs {y:2} did not, so a TreeSet of the three held two elements. A member without a value now sorts before one that has a value. Adds test cases for both, plus a regression test for the equals() NullPointerException fixed in 7ec5d2e400. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 5 + .../org/iets3/core/expr/toplevel/plugin.mps | 588 +++++++++----- .../models/test.ts.expr.os.records@tests.mps | 756 ++++++++++++++++++ 3 files changed, 1166 insertions(+), 183 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5ec4bbd1..fa6b5230de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project are documented in this file. Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month. +## September 2026 + +### Fixed +- KernelF: `RecordValue` no longer throws a `NullPointerException` from `equals` or `compareTo` when a record member has no value, nor from `compareTo` for inline records, which carry no record declaration. `equals`, `hashCode` and `compareTo` are consistent with each other again, so record values behave correctly in Java-side hash-based and sorted collections. + ## August 2026 ### Fixed diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps index b8987ed8cf..65b34e414e 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps @@ -146,11 +146,11 @@ - + @@ -172,6 +172,10 @@ + + + + @@ -354,6 +358,10 @@ + + + + @@ -1102,143 +1110,159 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - + + + - - - - - + + + + - - - - - - + + + + + - - - - - + + - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - + + + - + @@ -1246,91 +1270,49 @@ - - - - + + - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - + + - - - - - - - - - - + + + + - @@ -1358,6 +1340,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1369,6 +1449,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test.ts.expr.os.records@tests.mps b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test.ts.expr.os.records@tests.mps index 70d1225e87..369fdd2f80 100644 --- a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test.ts.expr.os.records@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test.ts.expr.os.records@tests.mps @@ -9,6 +9,7 @@ + @@ -49,9 +50,13 @@ + + + + @@ -63,6 +68,7 @@ + @@ -77,6 +83,8 @@ + + @@ -85,6 +93,13 @@ + + + + + + + @@ -142,6 +157,12 @@ + + + + + + @@ -151,6 +172,14 @@ + + + + + + + + @@ -484,6 +513,733 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 57d3010c1c7002592d71a3dbbe0b7443deb0b203 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Wed, 26 Aug 2026 14:05:53 +0200 Subject: [PATCH 12/19] Force Save All: rewrite resolve= for qualified enum literals EnumLiteral now computes IResolveInfo#resolveInfo as "Enum:literal" for qualified enums, and MPS's ResolveInfoUpdater refreshes the persisted resolve= attribute of every reference from it on save. This is that one-time rewrite, produced by Force Save All so it lands in one place rather than trickling into unrelated commits. Only references into the four qualified enums are affected -- 34 attributes across two test models, no other change in either file. resolve= is a hint for re-resolving a broken reference, not the binding itself, which is by node id, so nothing changes semantically. What it buys is that a reference to Starbucks:large can no longer be auto-resolved onto a different enum's "large". Models elsewhere that reference a qualified enum's literals will take the same rewrite the next time they are saved. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 8 +++ .../models/test.in.expr.os.enums@tests.mps | 66 +++++++++---------- .../models/test/ts/expr/os/m1@tests.mps | 2 +- 3 files changed, 42 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c5ec4bbd1..9fecf62585 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project are documented in this file. Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month. +## September 2026 + +### Changed +- KernelF: `EnumLiteral` now implements `ISmartReferent` and derives its `resolveInfo` from the same presentation (qualified for a qualified enum, bare otherwise), so completion, the editor cell and `renderReadable()` agree. The hand-written `EnumLiteralRef` substitute menus and the qualified filter in its scope were dropped in favour of the smart-reference machinery MPS generates. The auxiliary concept `QualifierRef` was removed; it had no instances and was never part of a valid model, so no migration is required. + +### Fixed +- KernelF: a broken reference to a literal of a qualified enum no longer rebinds to a same-named literal of a different enum, because the persisted `resolve=` info now carries the qualified name instead of the simple one. + ## August 2026 ### Fixed diff --git a/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.enums@tests.mps b/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.enums@tests.mps index a67535e687..61fd6ed3d2 100644 --- a/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.enums@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.in.expr.os/models/test.in.expr.os.enums@tests.mps @@ -1264,7 +1264,7 @@ - + @@ -1278,7 +1278,7 @@ - + @@ -1292,7 +1292,7 @@ - + @@ -1311,7 +1311,7 @@ - + @@ -1325,7 +1325,7 @@ - + @@ -1339,7 +1339,7 @@ - + @@ -1359,7 +1359,7 @@ - + @@ -1373,7 +1373,7 @@ - + @@ -1387,7 +1387,7 @@ - + @@ -1406,7 +1406,7 @@ - + @@ -1420,7 +1420,7 @@ - + @@ -1434,7 +1434,7 @@ - + @@ -1454,7 +1454,7 @@ - + @@ -1468,7 +1468,7 @@ - + @@ -1482,7 +1482,7 @@ - + @@ -1501,7 +1501,7 @@ - + @@ -1515,7 +1515,7 @@ - + @@ -1529,7 +1529,7 @@ - + @@ -1670,13 +1670,13 @@ - + - + - + @@ -1690,13 +1690,13 @@ - + - + - + @@ -1712,13 +1712,13 @@ - + - + - + @@ -1732,13 +1732,13 @@ - + - + - + @@ -1754,13 +1754,13 @@ - + - + - + diff --git a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps index 578363ee19..63f4f5dfb1 100644 --- a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps @@ -12158,7 +12158,7 @@ - + From 70afb55e710cfc555b7a9acff7511bc2f9ef11b0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 10:51:55 +0000 Subject: [PATCH 13/19] Update dependency com.mbeddr:platform to v2024.1.26573.0352a59 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9e4fe842e3..72301bdd57 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ mpsQaVersion = "2024.1.1436.3cd3456" # if you want to build against a specific mbeddr branch, prepend it here with a dot. # NOTE: instances of '/' in the branch name need to be replaced by '-' # example: mbeddrVersion="feature-my_new_feature.2023.2.+" -mbeddrVersion = "2024.1.26550.8b0a17b" +mbeddrVersion = "2024.1.26573.0352a59" jbr = "17.0.11-b1207.30" From 567e0a4aa11d9da3aa839be7a5d11c96053905b0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 13:11:56 +0000 Subject: [PATCH 14/19] Update third-party-minor to 1.31.+ --- gradle/libs.versions.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 72301bdd57..c45cb24204 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -25,7 +25,7 @@ cpSuite = { group = "io.takari.junit", name = "takari-cpsuite", version = "1.2.7 [plugins] cyclonedxBom = { id = "org.cyclonedx.bom", version = "3.4.1" } -downloadJbr = { id = "download-jbr", version = "1.30.2.+" } +downloadJbr = { id = "download-jbr", version = "1.31.0.+" } githubRelease = { id = "com.github.breadmoirai.github-release", version = "2.5.2" } -mpsCommon = { id = "de.itemis.mps.gradle.common", version = "1.30.+" } +mpsCommon = { id = "de.itemis.mps.gradle.common", version = "1.31.+" } mpsLauncher = { id = "de.itemis.mps.gradle.launcher", version = "2.8.1.+" } From 73b8f036f24389aac9415c0c54c6681fb1211a32 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 13:35:12 +0000 Subject: [PATCH 15/19] Update actions/setup-java action to v6 --- .github/workflows/vulnerability-scanning.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vulnerability-scanning.yml b/.github/workflows/vulnerability-scanning.yml index c954f0bdc0..9a66b9e3e1 100644 --- a/.github/workflows/vulnerability-scanning.yml +++ b/.github/workflows/vulnerability-scanning.yml @@ -8,7 +8,7 @@ jobs: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup Java - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5 + uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6 with: distribution: temurin java-version: 17 From 164fee21dc3acd6d3ea7d02a67c4bd99bbaddf1a Mon Sep 17 00:00:00 2001 From: Alexander Rimer Date: Thu, 3 Sep 2026 08:48:56 +0200 Subject: [PATCH 16/19] RecordValue.compareTo: use NPE-safe not equals operation --- .../models/org/iets3/core/expr/toplevel/plugin.mps | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps index 65b34e414e..2c3cfc76ce 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/plugin.mps @@ -753,7 +753,7 @@ - + @@ -1258,12 +1258,6 @@ - - - - - - @@ -1438,6 +1432,12 @@ + + + + + + From 245fffd97addc967e7a6c4971f079ea5ec5aa463 Mon Sep 17 00:00:00 2001 From: Alexander Rimer Date: Thu, 3 Sep 2026 17:28:59 +0200 Subject: [PATCH 17/19] commentedOutUniqueVarName test: moved to fitting test location --- .../models/test/ts/expr/os/m1@tests.mps | 112 +++++++++--------- 1 file changed, 54 insertions(+), 58 deletions(-) diff --git a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps index 241ca8f425..e33593ec8d 100644 --- a/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps +++ b/code/languages/org.iets3.opensource/tests/test.ts.expr.os/models/test/ts/expr/os/m1@tests.mps @@ -21081,6 +21081,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -37867,63 +37921,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 8b880fb847f8ccae3d1f58c07cddc73ac9bd2d91 Mon Sep 17 00:00:00 2001 From: Sascha Lisson Date: Wed, 2 Sep 2026 12:44:27 +0200 Subject: [PATCH 18/19] fix: keep enum 'is' and 'isIn' working on unmigrated models. The IDotTarget refactoring (#1846) moved `EnumIsTarget.literal` up to the new AbstractEnumSingleInTarget and `EnumIsInTarget.selectors` up to the new AbstractEnumInTarget, leaving the old links behind as deprecated `literal_old` and `selectors_old`. Until a model runs migration 006/007 it therefore renders as empty and no longer generates, which forces every downstream project to migrate at once - awkward while feature branches are in flight. Defer the access behind two behavior methods and let the legacy concepts override them: - AbstractEnumSingleInTarget.effectiveLiteral() returns `literal`; EnumIsTarget overrides it to fall back to `literal_old`. - AbstractEnumInTarget.effectiveSelectors() returns `selectors`; EnumIsInTarget overrides it to fall back to `selectors_old`. Everything that used to read the links directly now goes through them: the behavior aspect (renderReadable, reduce), the three reference macros of the genjava generator, and the `is()`/`isIn()` interpreter evaluators. This matters most for `isIn`: it has no template of its own, it is desugared into an `is` chain by the preprocessEnumIsIn mapping script, and that script's `reduce()` returned null for an unmigrated node - so the node did not generate at all. EnumIsTarget and EnumIsInTarget also get their own editors, which add a reference/child cell for the deprecated element, in red and behind a rendering condition that hides it as soon as the deprecated link is empty. Unmigrated models are then legible again: ocean.is( not migrated: blue) c.isIn( not migrated: GREEN, BLUE) These two editors duplicate the cells of the abstract editors and are meant to be deleted together with the deprecated links once everyone has migrated. Also fix renderReadable() of EnumIsInTarget/EnumIsNotInTarget, which rendered `isIn([, , ])`: the separator was joined onto each selector's presentation rather than onto the sequence, and resolved to the varargs String.join(CharSequence, CharSequence...) with no elements. Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 2 + ...3.core.expr.genjava.toplevel@generator.mps | 12 +- .../org/iets3/core/expr/toplevel/behavior.mps | 276 +++++++++++---- .../org/iets3/core/expr/toplevel/editor.mps | 328 ++++++++++++++++++ .../models/plugin.mps | 12 +- 5 files changed, 541 insertions(+), 89 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 101060c09d..4296d88bf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ The project does _not_ follow Semantic Versioning and the changes are documented ## September 2026 ### Fixed +- KernelF: `renderReadable()` of the `isIn`/`isNotIn` enumeration dot targets rendered `isIn([, , ])` instead of `isIn(blue, green, red)`: the separator was joined onto each selector's presentation instead of onto the sequence, which resolved to the varargs `String.join(CharSequence, CharSequence...)` with no elements. +- KernelF: the `is`/`isIn` enumeration dot targets are backwards compatible with models that have not run the "move link up" migration of the `EnumIsTarget`/`EnumIsInTarget` refactoring yet. `EnumIsTarget` and `EnumIsInTarget` now have their own editors that show the deprecated `literal_old`/`selectors_old` elements in red, hidden as soon as the deprecated reference/child is empty. Behavior, generator and interpreter read the value through the new `AbstractEnumSingleInTarget.effectiveLiteral()`/`AbstractEnumInTarget.effectiveSelectors()` behavior methods, which the two legacy concepts override to fall back to the deprecated link, so an unmigrated model still renders, interprets and generates correctly. - KernelF: `RecordValue` no longer throws a `NullPointerException` from `equals` or `compareTo` when a record member has no value, nor from `compareTo` for inline records, which carry no record declaration. `equals`, `hashCode` and `compareTo` are consistent with each other again, so record values behave correctly in Java-side hash-based and sorted collections. ## August 2026 diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps index 221e331164..6203e06ca2 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps @@ -4303,8 +4303,8 @@ - - + + @@ -4339,8 +4339,8 @@ - - + + @@ -6669,8 +6669,8 @@ - - + + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps index 1bd015bd77..bdd4a60117 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps @@ -84,7 +84,6 @@ - @@ -7454,8 +7453,8 @@ - - + + @@ -7468,6 +7467,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9832,39 +9870,38 @@ - - - - - - + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - @@ -9965,6 +10002,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10146,36 +10224,35 @@ - - - - - - + + + + + - - - - - + + + + + - - - - - - + + + + + + + + + + + + - + - - - - - - @@ -10371,25 +10448,61 @@ + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - + + + + + + + + + - - - + + + + + + + + + + + @@ -10428,11 +10541,8 @@ - - - - - + + @@ -10451,11 +10561,8 @@ - - - - - + + @@ -10463,11 +10570,8 @@ - - - - - + + @@ -10603,6 +10707,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps index 0bd27ca493..4203639826 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps @@ -8297,5 +8297,333 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps index be3b664501..4da508cad7 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps @@ -2702,8 +2702,8 @@ - - + + @@ -2747,8 +2747,8 @@ - - + + @@ -3030,8 +3030,8 @@ - - + + From f0d85a8572fab1bd23c73cb36ffd217669f5d34c Mon Sep 17 00:00:00 2001 From: Marcio Oliveira Date: Mon, 7 Sep 2026 17:02:58 +0200 Subject: [PATCH 19/19] Apply re-migrate --- ...3.core.expr.genjava.toplevel@generator.mps | 25 ++- .../org/iets3/core/expr/toplevel/behavior.mps | 190 ++++++++++++++---- .../iets3/core/expr/toplevel/constraints.mps | 9 +- .../org/iets3/core/expr/toplevel/editor.mps | 5 +- .../models/plugin.mps | 7 +- 5 files changed, 172 insertions(+), 64 deletions(-) diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps index a016135a8c..c2aabb35ee 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.toplevel/generator/template/org.iets3.core.expr.genjava.toplevel@generator.mps @@ -269,14 +269,14 @@ - - + + - + @@ -327,7 +327,7 @@ - + @@ -358,19 +358,19 @@ - + - - + + - + - + @@ -416,7 +416,6 @@ - @@ -4306,7 +4305,7 @@ - + @@ -4342,7 +4341,7 @@ - + @@ -6671,7 +6670,7 @@ - + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps index 9f2d0a1c1c..ce2aab9e51 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/behavior.mps @@ -212,7 +212,6 @@ - @@ -220,13 +219,7 @@ - - - - - - @@ -258,7 +251,6 @@ - @@ -6710,7 +6702,7 @@ - + @@ -6794,7 +6786,7 @@ - + @@ -6821,7 +6813,7 @@ - + @@ -6851,7 +6843,7 @@ - + @@ -7616,7 +7608,7 @@ - + @@ -10042,7 +10034,7 @@ - + @@ -10058,7 +10050,7 @@ - + @@ -10396,7 +10388,7 @@ - + @@ -10412,7 +10404,7 @@ - + @@ -10539,19 +10531,62 @@ - - - - - - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10583,31 +10618,72 @@ - - - - - - + + + + + + - + + + + + + - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10648,7 +10724,7 @@ - + @@ -10799,9 +10875,45 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10831,9 +10943,9 @@ - + - + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps index d71ee3bd10..df44681380 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/constraints.mps @@ -179,7 +179,6 @@ - @@ -1319,9 +1318,9 @@ - + - + @@ -1354,7 +1353,7 @@ - + @@ -1973,7 +1972,7 @@ - + diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps index 2b56a8fc02..480fcc1c2f 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.toplevel/models/org/iets3/core/expr/toplevel/editor.mps @@ -630,7 +630,6 @@ - @@ -7931,11 +7930,11 @@ - + - + diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps index 8cd591e014..a0f7bc3114 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.core.expr.toplevel.interpreter/models/plugin.mps @@ -210,7 +210,6 @@ - @@ -2705,7 +2704,7 @@ - + @@ -2750,7 +2749,7 @@ - + @@ -3033,7 +3032,7 @@ - +