Skip to content

Commit

Permalink
fix(generator-accessor-plugin): wrong source type
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed May 11, 2024
1 parent f529c3d commit 950d583
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ open class KotlinGenerationContext(
PropertySpec.builder(namingStrategy.member(GeneratedMemberType.LOOKUP), types.KT_MAPPING_LOOKUP)
.addKdoc("Mapping lookup index.")
.initializer {
beginControlFlow("%M", types.KT_MAPPING_LOOKUP)
beginControlFlow("%M", types.KT_MAPPING_LOOKUP_DSL)

names.forEach { name ->
addStatement("put(%T)", name.toKClassName())
Expand Down

0 comments on commit 950d583

Please sign in to comment.