Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
multiDecl
/
ValCapturedInLocalFunction.kt
blob: 91dfb1d7eb55a6539e7fa8716652df578db2a2cf [
file
] [
log
] [
blame
]
class
A
{
operator
fun component1
()
=
1
operator
fun component2
()
=
2
}
fun box
()
:
String
{
val
(
a
,
b
)
=
A
()
fun run
():
Int
{
return
a
}
return
if
(
run
()
==
1
&&
b
==
2
)
"OK"
else
"fail"
}