[FIR] Fix processing integer operator calls for not integer types
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ fun test() : Int {
|
||||
val a : () -> Unit = {
|
||||
<!INAPPLICABLE_CANDIDATE!>foo<!>(1)
|
||||
}
|
||||
return 1 - "1"
|
||||
return 1 <!NONE_APPLICABLE!>-<!> "1"
|
||||
}
|
||||
|
||||
class A() {
|
||||
|
||||
@@ -4,5 +4,5 @@ fun bar() {
|
||||
|
||||
// See exception in KT-13421
|
||||
fun foo() {
|
||||
42 and false
|
||||
}
|
||||
42 <!INAPPLICABLE_CANDIDATE!>and<!> false
|
||||
}
|
||||
|
||||
+2
-2
@@ -12,9 +12,9 @@ class B {
|
||||
fun test() {
|
||||
with(B()) {
|
||||
with(A()) {
|
||||
<!INAPPLICABLE_CANDIDATE!>takeString<!>(1 % "")
|
||||
takeString(1 % "")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun takeString(s: String) {}
|
||||
fun takeString(s: String) {}
|
||||
|
||||
Reference in New Issue
Block a user