Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
localClasses
/
inLocalExtensionFunction.kt
blob: d7231d40d3d0a7020a5160c2300b7eb59bd81e38 [
file
] [
log
] [
blame
]
package
test
class
C
(
val s
:
String
)
{
fun A
.
a
():
String
{
class
B
{
val b
:
String
get
()
=
this
@a
.
s
+
this
@C
.
s
}
return
B
().
b
}
fun test
(
a
:
A
)
:
String
{
return
a
.
a
()
}
}
class
A
(
val s
:
String
)
{
}
fun box
()
:
String
{
return
C
(
"K"
).
test
(
A
(
"O"
))
}