saveourtool/diktat

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

Open

#790 opened on 2021年3月3日

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)

説明

external interface Foo {
    var bar: String
}

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

should be allowed.

コントリビューターガイド