Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
548 stars 44 forks source link

Protected members convert incorrectly #148

Open nbransby opened 5 years ago

nbransby commented 5 years ago
export class A {
    protected close(): void
}

converts to:

external open class A {
    open fun close(): Unit = definedExternally
}

The function is missing the protected modifier

epabst commented 5 years ago

Thanks again. I have a fix ready for review.