Do not offer to convert to infix call when calling non-infix function
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
fun foo(x: Int) {
|
||||
interface X {
|
||||
infix fun compareTo(p: Int): Int
|
||||
}
|
||||
|
||||
fun foo(x: X) {
|
||||
x compareTo 1 + 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user