[FIR] Implement Int -> Long conversions for literals and operators over them
^KT-38895 ^KT-50996 Fixed ^KT-51000 Fixed ^KT-51003 Fixed ^KT-51018 Fixed
This commit is contained in:
committed by
teamcity
parent
cc86ca2a0f
commit
52b72a7dac
+1
-1
@@ -8,7 +8,7 @@ fun fooShort(p: Short) = p
|
||||
fun test() {
|
||||
fooInt(1 % 1)
|
||||
fooByte(<!ARGUMENT_TYPE_MISMATCH!>1 % 1<!>)
|
||||
fooLong(<!ARGUMENT_TYPE_MISMATCH!>1 % 1<!>)
|
||||
fooLong(1 % 1)
|
||||
fooShort(<!ARGUMENT_TYPE_MISMATCH!>1 % 1<!>)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user