Skip to content

Commit

Permalink
fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Jan 7, 2025
1 parent 3e7919c commit 0726ca9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected void processTypeDefinition(Definition.Type typ) {
QualifiedName qualifiedName = scopeBuilder.getModuleName().createChild(typ.name().name());
TypeRepresentation.TypeObject typeObject = new TypeRepresentation.TypeObject(qualifiedName);
List<AtomTypeDefinition.Constructor> constructors =
CollectionConverters$.MODULE$.asJava(typ.members()).stream()
ScalaConversions.asJava(typ.members()).stream()
.map(
constructorDef -> {
TypeRepresentation type = buildAtomConstructorType(typeObject, constructorDef);
Expand All @@ -150,7 +150,8 @@ protected void processTypeDefinition(Definition.Type typ) {
})
.toList();

AtomTypeDefinition atomTypeDefinition = new AtomTypeDefinition(typ.name().name(), constructors);
AtomTypeDefinition atomTypeDefinition =
new AtomTypeDefinition(typ.name().name(), constructors);
var atomTypeScope = TypeScopeReference.atomType(qualifiedName);
scopeBuilder.registerType(atomTypeDefinition);
registerFieldGetters(scopeBuilder, atomTypeScope, typ);
Expand Down

0 comments on commit 0726ca9

Please sign in to comment.