Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
box
/
functions
/
kt785.kt
blob: e3073856d42db94a15d7098f847322a2bcc5e744 [
file
] [
log
] [
blame
]
class
A
()
{
var
x
:
Int
=
0
var
z
=
{
x
++
}
}
fun box
()
:
String
{
val a
=
A
()
a
.
z
()
//problem is here
return
if
(
a
.
x
==
1
)
"OK"
else
"fail"
}