no more conversions in MethodCallExpression
This commit is contained in:
committed by
Pavel V. Talanov
parent
d5900a58b2
commit
1ddde183f5
@@ -4,8 +4,8 @@ open fun putInt(i : Int?) : Unit {
|
||||
}
|
||||
open fun test() : Unit {
|
||||
var b : Byte = 10
|
||||
putInt((b).toInt())
|
||||
putInt(b.toInt())
|
||||
var b2 : Byte? = 10
|
||||
putInt((b2).toInt())
|
||||
putInt(b2.toInt())
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@ open fun putInt(i : Int) : Unit {
|
||||
}
|
||||
open fun test() : Unit {
|
||||
var b : Byte = 10
|
||||
putInt((b).toInt())
|
||||
putInt(b.toInt())
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ open class Test() {
|
||||
open fun putInt(i : Int) : Unit {
|
||||
}
|
||||
open fun test() : Unit {
|
||||
putInt((One.myContainer?.myInt).sure())
|
||||
putInt(One.myContainer?.myInt!!)
|
||||
IntContainer(One.myContainer?.myInt!!)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user