f6d3bb5b1b
All of these have a different order of declarations and/or extra `@NotNull` annotations on fields, both of which doesn't seem like a problem. #KT-49682
29 lines
531 B
Kotlin
Vendored
29 lines
531 B
Kotlin
Vendored
// WITH_STDLIB
|
|
|
|
interface Intf
|
|
interface GenericIntf<T>
|
|
|
|
class Foo {
|
|
private val foo by lazy {
|
|
object : Runnable {
|
|
override fun run() {}
|
|
}
|
|
}
|
|
|
|
private val bar by lazy {
|
|
object : Runnable, Intf {
|
|
override fun run() {}
|
|
}
|
|
}
|
|
|
|
private val baz by lazy {
|
|
abstract class LocalIntf
|
|
object : LocalIntf() {}
|
|
}
|
|
|
|
private val generic1 by lazy {
|
|
abstract class LocalIntf : GenericIntf<CharSequence>
|
|
object : LocalIntf() {}
|
|
}
|
|
}
|