Uast: support for KtDelegatedSuperTypeEntry (KT-30033)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
interface Base {
|
||||
fun print()
|
||||
}
|
||||
|
||||
class BaseImpl(val x: Int) : Base {
|
||||
override fun print() {
|
||||
print(x)
|
||||
}
|
||||
}
|
||||
|
||||
class Derived(b: Base) : Base by createBase(10), CharSequence by "abc"
|
||||
|
||||
fun createBase(i: Int): Base {
|
||||
return BaseImpl(i)
|
||||
}
|
||||
Reference in New Issue
Block a user