Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
ir
/
sourceRanges
/
augmentedAssignmentWithExpression.kt
blob: 6bf6ad8457bf7dc35170a507dceeb7dac44d5808 [
file
] [
log
] [
blame
]
package
test
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
}