Skip to content

Commit

Permalink
fix(language): classes must be concretized
Browse files Browse the repository at this point in the history
  • Loading branch information
kris7t committed Dec 15, 2024
1 parent 0275049 commit 6f968a9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ public static boolean canDisableConcretization(Relation relation) {
(isContainmentReference(referenceDeclaration) || isContainerReference(referenceDeclaration))) {
return false;
}
if (relation instanceof ClassDeclaration) {
return false;
}
return isConcretizeByDefault(relation);
}

Expand All @@ -227,6 +230,9 @@ public static boolean canEnableDecision(Relation relation) {
}

public static boolean canDisableDecision(Relation relation) {
if (relation instanceof ClassDeclaration) {
return false;
}
return isDecideByDefault(relation);
}
}

0 comments on commit 6f968a9

Please sign in to comment.