dbl -> toDouble
This commit is contained in:
@@ -4,8 +4,8 @@ open fun putInt(i : Int?) : Unit {
|
||||
}
|
||||
open fun test() : Unit {
|
||||
var b : Byte = 10
|
||||
putInt((b).int)
|
||||
putInt((b).toInt())
|
||||
var b2 : Byte? = 10
|
||||
putInt((b2).int)
|
||||
putInt((b2).toInt())
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@ open fun putInt(i : Int) : Unit {
|
||||
}
|
||||
open fun test() : Unit {
|
||||
var b : Byte = 10
|
||||
putInt((b).int)
|
||||
putInt((b).toInt())
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,6 @@ package demo
|
||||
open class Test(i : Int) {
|
||||
open fun test() : Unit {
|
||||
var b : Byte = 10
|
||||
Test((b).int)
|
||||
Test((b).toInt())
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
open class Test() {
|
||||
open fun getInt() : Int {
|
||||
var b : Byte = 10
|
||||
return b.int
|
||||
return b.toInt()
|
||||
}
|
||||
}
|
||||
@@ -8,5 +8,5 @@ var myContainer : Container? = Container()
|
||||
}
|
||||
}
|
||||
open class Test() {
|
||||
var b : Byte = One.myContainer?.myInt.sure().byte
|
||||
var b : Byte = One.myContainer?.myInt.sure().toByte()
|
||||
}
|
||||
@@ -9,6 +9,6 @@ var myContainer : Container? = Container()
|
||||
}
|
||||
open class Test() {
|
||||
open fun test() : Unit {
|
||||
var b : Byte = One.myContainer?.myInt.sure().byte
|
||||
var b : Byte = One.myContainer?.myInt.sure().toByte()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user