[FIR] Approximate all integer literals which resolved in independent mode
#KT-42016
This commit is contained in:
+4
-4
@@ -7,9 +7,9 @@ fun fooShort(p: Short) = p
|
||||
|
||||
fun test() {
|
||||
fooInt(1 % 1)
|
||||
fooByte(1 % 1)
|
||||
fooLong(1 % 1)
|
||||
fooShort(1 % 1)
|
||||
<!INAPPLICABLE_CANDIDATE!>fooByte<!>(1 % 1)
|
||||
<!INAPPLICABLE_CANDIDATE!>fooLong<!>(1 % 1)
|
||||
<!INAPPLICABLE_CANDIDATE!>fooShort<!>(1 % 1)
|
||||
}
|
||||
|
||||
public operator fun Int.rem(other: Int): Int = 0
|
||||
public operator fun Int.rem(other: Int): Int = 0
|
||||
|
||||
Reference in New Issue
Block a user