Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
cae7f90b594750d624e94b3325571f4b5ebff2f0
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
augmentedAssignmentWithExpression.kt
blob: caaa27d0ffcfcdd6c473ba43680be43fd83af6eb [
file
] [
log
] [
blame
]
class
Host
{
operator
fun plusAssign
(
x
:
Int
)
{}
fun test1
()
{
this
+=
1
}
}
fun foo
()
=
Host
()
fun
Host
.
test2
()
{
this
+=
1
}
fun test3
()
{
foo
()
+=
1
}
fun test4
(
a
:
()
->
Host
)
{
a
()
+=
1
}