Frontend: Avoid retypechecking the right hand side of assignment operators
This commit is contained in:
committed by
Mikhail Glukhikh
parent
41c81d25a0
commit
ab506c1579
@@ -0,0 +1,9 @@
|
||||
class R<T>
|
||||
|
||||
fun <T> f(): R<T> = R<T>()
|
||||
|
||||
operator fun Int.plusAssign(<!UNUSED_PARAMETER!>y<!>: R<Int>) {}
|
||||
|
||||
fun box() {
|
||||
1 += f()
|
||||
}
|
||||
Reference in New Issue
Block a user