Skip to content

Commit d7113e6

Browse files
committed
Fix constructor registration
1 parent e2ceb30 commit d7113e6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

kt/entry-generation/godot-entry-generator/src/main/kotlin/godot/entrygenerator/generator/ConstructorRegistrationGenerator.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ object ConstructorRegistrationGenerator {
1212
fun generate(registeredClass: RegisteredClass, className: ClassName, registerClassControlFlow: FunSpec.Builder) {
1313
registeredClass
1414
.constructors
15-
.filter { registeredConstructor ->
16-
registeredConstructor.parameters.isEmpty()
17-
}
1815
.forEach { registeredConstructor ->
1916
val ctorParamsCount = registeredConstructor.parameters.size
2017

kt/godot-library/src/main/kotlin/godot/gen/godot/RefCounted.kt

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)