FIR: Fix false positive INAPPLICABLE_INFIX_MODIFIER
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
class Pair<out A, out B>(val first: A, val second: B)
|
||||
|
||||
class Example {
|
||||
<!INAPPLICABLE_INFIX_MODIFIER!>infix fun to(other: Example) = Pair(this, other)<!>
|
||||
infix fun to(other: Example) = Pair(this, other)
|
||||
fun toNonInfix(other: Example) = Pair(this, other)
|
||||
}
|
||||
|
||||
@@ -35,4 +35,4 @@ fun test() {
|
||||
a toExtNonInfixDefaultValues b
|
||||
|
||||
a withLambda { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user