Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
67ac90ce0868ee0c9cd08d72460f16efecded549
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
kt4137.kt
blob: adc47c875a8bfe551ffc0e7901fd32a932bc352c [
file
]
open
class
A
(
val s
:
Int
)
{
}
infix fun
Int
.
foo
(
s
:
Int
):
Int
{
return
this
+
s
}
open
class
B
:
A
({
1
foo
2
}.
let
{
it
()
})
fun box
():
String
{
return
if
(
B
().
s
==
3
)
"OK"
else
"Fail"
}