Linemarker tests
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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) {}
|
||||
|
||||
// TODO: fix bug with 'null' marker
|
||||
override fun <lineMarker descr="*"><lineMarker descr="Implements function in 'SkipSupport'"></lineMarker></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
|
||||
Reference in New Issue
Block a user