Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
417088e15084daef5c72bc17ea66d3cf3c026c33
/
.
/
compiler
/
testData
/
codegen
/
box
/
localClasses
/
kt10835.kt
blob: 4d242b3bd93f4e4aec73dfd65093a4fc3bb52b9a [
file
]
class
X
(
val x
:
String
)
{
open inner
class
Y
{
fun foo
()
=
x
}
fun foo
(
s
:
String
):
String
{
with
(
X
(
s
+
x
))
{
val obj
=
object
:
Y
()
{}
return
obj
.
foo
()
}
}
}
fun box
()
=
X
(
"K"
).
foo
(
"O"
)