Uast: support for KtDelegatedSuperTypeEntry (KT-30033)

This commit is contained in:
Nicolay Mitropolsky
2019-02-25 15:43:02 +03:00
parent 2f5843f764
commit 9c674cb7c3
13 changed files with 242 additions and 10 deletions
+15
View File
@@ -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)
}