Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionFunctions
/
extensionFunctionNestedInExtensionFunction.kt
blob: 59a61efadf93385623694de7bf029a25bea281ec [
file
]
class
A
(
val a
:
String
)
fun A
.
foo
(
block
:
A
.(
A
.()
->
String
)
->
String
):
String
{
return
A
(
"OK"
).
block
{
""
}
}
fun box
():
String
{
return
A
(
"FAIL"
).
foo
{
this
.
a
}
}