FIR: Fix false positive INAPPLICABLE_INFIX_MODIFIER

This commit is contained in:
Denis Zharkov
2020-04-20 15:29:14 +03:00
parent 27b860682b
commit fa3b3e7a9a
16 changed files with 65 additions and 42 deletions
@@ -1,7 +1,7 @@
package o
class A {
<!INAPPLICABLE_INFIX_MODIFIER!>infix fun foo(b: B) = b<!>
infix fun foo(b: B) = b
}
class B {
@@ -11,4 +11,4 @@ class B {
fun test(a: A, b: B?) {
a foo b!!
b.bar()
}
}