5c6d74af7d
#KT-4428 Fixed
19 lines
1.1 KiB
Kotlin
19 lines
1.1 KiB
Kotlin
trait <lineMarker descr="*"></lineMarker>SkipSupport {
|
|
fun <lineMarker descr="<html><body>Is implemented in <br> SkipSupportImpl<br> SkipSupportWithDefaults</body></html>"></lineMarker>skip(why: String)
|
|
fun <lineMarker descr="<html><body>Is implemented in <br> SkipSupportWithDefaults</body></html>"></lineMarker>skip()
|
|
}
|
|
|
|
public trait <lineMarker descr="*"></lineMarker>SkipSupportWithDefaults : SkipSupport {
|
|
// TODO: should be "Is overriden in SkipSupportImpl"
|
|
override fun <lineMarker descr="<html><body>Is implemented in <br> SkipSupportImpl</body></html>"><lineMarker descr="Implements function in 'SkipSupport'"></lineMarker></lineMarker>skip(why: String) {}
|
|
|
|
override fun <lineMarker descr="Implements function in 'SkipSupport'"></lineMarker>skip() {
|
|
skip("not given")
|
|
}
|
|
}
|
|
|
|
open class SkipSupportImpl: SkipSupportWithDefaults {
|
|
override fun <lineMarker descr="Overrides function in 'SkipSupportWithDefaults'"></lineMarker>skip(why: String) = throw RuntimeException(why)
|
|
}
|
|
|
|
// KT-4428 Incorrect override icon shown for overloaded methods |