saveourtool/diktat

Add exception for EXTENSION_FUNCTION_WITH_CLASS: external interfaces cannot have non-abstract functions inside them

Open

#790 opened on Mar 3, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Kotlin (40 forks)github user discovery
enhancementgood first issuehelp wantedneeded

Repository metrics

Stars
 (571 stars)
PR merge metrics
 (PR metrics pending)

Description

external interface Foo {
    var bar: String
}

fun Foo.baz() {
    prinltn("Lorem ipsum")
}

should be allowed.

Contributor guide