Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
534b00eff856e0e4dcaf105df9a043d9b1263ff7
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionProperties
/
extensionPropertyWithAnonymousExtensionFun.kt
blob: a57f6250d0bec920aceb71ed0405239e8d704572 [
file
]
class
A
(
val x
:
String
)
val A
.
a
:
A
.(
String
)
->
String
get
()
=
fun A
.(
y
:
String
):
String
{
return
this
@a
.
x
+
this
.
x
+
y
}
fun box
():
String
{
return
if
(
A
(
"1"
).
a
(
A
(
"2"
),
"3"
)
==
"123"
)
"OK"
else
"FAIL"
}