Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
delegation
/
inDataClass.kt
blob: e52b44f4565646da50df7c86b3cfb177f14818cd [
file
] [
log
] [
blame
]
interface
A
{
fun foo
():
String
val bar
:
String
}
class
B
:
A
{
override
fun foo
():
String
=
"O"
override
val bar
:
String
get
()
=
"K"
}
data
class
C
(
val a
:
A
):
A
by
a
fun box
()
=
C
(
B
()).
let
{
it
.
foo
()
+
it
.
bar
}