From 17ef3207c536a9bd5357336977a0c59efcc8daba Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Tue, 5 May 2020 12:09:39 +0200 Subject: Receiver for extension property #809 --- .../kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/kotlin-as-java') diff --git a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt index dac937c0..0befe077 100644 --- a/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt +++ b/plugins/kotlin-as-java/src/main/kotlin/converters/KotlinToJavaConverter.kt @@ -212,6 +212,7 @@ internal fun DObject.asJava(): DObject = copy( getter = null, platformData = platformData, receiver = null, + generics = emptyList(), extra = PropertyContainer.empty() + AdditionalModifiers(setOf(ExtraModifiers.STATIC)) ), classlikes = classlikes.map { it.asJava() }, -- cgit