Added missing specificity comparator to FIR
This is required to correctly resolve overloading in cases when we need to find most specific alternative in Java between int and Integer.
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// FULL_JDK
|
||||
import java.lang.Integer.getInteger
|
||||
|
||||
fun foo() {
|
||||
getInteger("text", 239)
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
FILE: FlexiblePrimitiveOverloading.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
R|java/lang/Integer.getInteger|(String(text), Int(239))
|
||||
}
|
||||
Reference in New Issue
Block a user