mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
Try to report most mismatch errors on the 'impl' declaration. Only report a mismatch error on the 'header' declaration if no error would be otherwise reported on any 'impl' declaration in the compilation unit. Also render declaration kind in the message #KT-18447 In Progress
6 lines
71 B
Kotlin
Vendored
6 lines
71 B
Kotlin
Vendored
impl class Foo {
|
|
impl fun f(s: String) {}
|
|
}
|
|
|
|
impl fun g(a: Any) {}
|