Add test for obsolete issue
#KT-38161 Obsolete
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
fun interface Bar {
|
||||
fun invoke(): String
|
||||
}
|
||||
|
||||
operator fun Bar.plus(b: Bar): String = invoke() + b.invoke()
|
||||
|
||||
fun box(): String {
|
||||
return { "O" } <!INAPPLICABLE_CANDIDATE!>+<!> { "K" }
|
||||
}
|
||||
Reference in New Issue
Block a user