Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
kt1247.kt
blob: 4ba62b5748740e981119b65391ceb287893cbf3c [
file
]
fun f
(
a
:
Int
?,
b
:
Int
.(
Int
)->
Int
)
=
a
?.
b
(
1
)
fun box
():
String
{
val x
=
f
(
1
)
{
this
+
it
+
2
}
return
if
(
x
==
4
)
"OK"
else
"fail"
}