Skip to content

Conversation

serras
Copy link
Collaborator

@serras serras commented Dec 22, 2023

Fixes #90
Fixes #92

@serras serras requested a review from suhtai December 22, 2023 20:24
@serras serras self-assigned this Dec 22, 2023
@rivelli1m
Copy link

This fix would be very useful to me. Is there anything I can do to help get this merged, and in general support the KopyKat development?

@atomgomba
Copy link

What's up with this? I just tried Kopykat today and it immediately broke my build due to the missing imports, but the utility itself is a good idea nonetheless. Is this project still maintained?

@@ -75,7 +76,7 @@ private fun TypeCompileScope.copyConstructorFileSpec(
to.properties.toList().zipByName(from.getAllProperties().toList()) { to, from ->
propertyDefinition(others, from, to)
}.filterNotNull()
addReturn("${to.baseName}(${propertyAssignments.joinToString()})")
addReturn("${to.sanitizedName}(${propertyAssignments.joinToString()})")
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J

@viZi67 viZi67 mentioned this pull request May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants