提交 ae4b391c 编写于 作者: S Svetlana Isakova

KT-1820 Write test for ASSIGN_OPERATOR_AMBIGUITY

 #KT-1820 fixed
上级 1fa46986
//KT-1820 Write test for ASSIGN_OPERATOR_AMBIGUITY
package kt1820
class MyInt(val i: Int) {
fun plus(m: MyInt) : MyInt = MyInt(m.i + i)
}
fun Any.plusAssign(<!UNUSED_PARAMETER!>a<!>: Any) {}
fun test(m: MyInt) {
m <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> m
var i = 1
i <!ASSIGN_OPERATOR_AMBIGUITY!>+=<!> 34
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册