Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomassetti committed Dec 14, 2023
1 parent ed8423a commit a233d13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ class ASTGenerator(val packageName: String, val language: LWLanguage) {
typeSpec.modifiers.add(KModifier.DATA)
}
}
if(element.allFeatures().isEmpty() && !element.isAbstract) {
if (element.allFeatures().isEmpty() && !element.isAbstract) {
val hasSubclasses = language.elements.filterIsInstance<Concept>().any {
it.extendedConcept == element
}
if(hasSubclasses) {
if (hasSubclasses) {
typeSpec.modifiers.add(KModifier.OPEN)
}
}
Expand Down

0 comments on commit a233d13

Please sign in to comment.