Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
localClasses
/
localExtendsInnerAndReferencesOuterMember.kt
blob: f552040636335a5b005e922fba2e5668a48a772b [
file
] [
log
] [
blame
]
class
A
{
fun box
():
String
{
class
Local
:
Inner
()
{
val u
=
foo
()
}
val u
=
Local
().
u
return
if
(
u
==
42
)
"OK"
else
"Fail $u"
}
open inner
class
Inner
fun foo
()
=
42
}
fun box
()
=
A
().
box
()