Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a3b14561c4d5f2ab5a7edc53fca7d3c891589f2c
/
.
/
plugins
/
uast-kotlin
/
testData
/
ConstructorDelegate.kt
blob: 3da6ec1a8c2ab090f9fecc44dcff9e021c769da0 [
file
] [
log
] [
blame
]
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
)
}