Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithJvmBackend
/
scripts
/
interfaceCapturesProperty.kts
blob: 5b804ee88987168aa64890207121d0c41b9e5f21 [
file
]
// !RENDER_DIAGNOSTICS_FULL_TEXT
// TARGET_BACKEND: JVM_IR
fun foo
()
=
B
().
bar
()
val life
=
42
<!
SCRIPT_CAPTURING_INTERFACE
!>
interface
A
{
val x
get
()
=
life
}<!>
class
B
:
A
{
fun bar
()
=
x
}