Skip to content

Commit

Permalink
Fix constructor registration
Browse files Browse the repository at this point in the history
  • Loading branch information
chippmann committed Oct 13, 2024
1 parent b313ec7 commit 7310a09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ object ConstructorRegistrationGenerator {
fun generate(registeredClass: RegisteredClass, className: ClassName, registerClassControlFlow: FunSpec.Builder) {
registeredClass
.constructors
.filter { registeredConstructor ->
registeredConstructor.parameters.isEmpty()
}
.forEach { registeredConstructor ->
val ctorParamsCount = registeredConstructor.parameters.size

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7310a09

Please sign in to comment.