no more conversions in MethodCallExpression

This commit is contained in:
Dmitry Jemerov
2012-05-24 21:25:51 +02:00
committed by Pavel V. Talanov
parent d5900a58b2
commit 1ddde183f5
7 changed files with 27 additions and 97 deletions
@@ -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())
}
}
+1 -1
View File
@@ -4,6 +4,6 @@ open fun putInt(i : Int) : Unit {
}
open fun test() : Unit {
var b : Byte = 10
putInt((b).toInt())
putInt(b.toInt())
}
}
+1 -1
View File
@@ -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!!)
}
}