Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionFunctions
/
kt1249.kt
blob: 8078f5443fe094cce7b7608b1d9ff4b288ab1a7f [
file
]
//KT-1249 IllegalStateException invoking function property
class
TestClass
(
val body
:
()
->
Unit
)
:
Any
()
{
fun run
()
{
body
()
}
}
fun box
()
:
String
{
TestClass
({}).
run
()
return
"OK"
}