Advance deprecation level of FP to lesser than Int types to ERROR #KT-30360
This commit is contained in:
@@ -12,7 +12,7 @@ fun box() : String {
|
||||
assertEquals(1.toByte(), foo(1L) { x -> x!!.toByte() })
|
||||
assertEquals(1.toShort(), foo(1L) { x -> x!!.toShort() })
|
||||
assertEquals('a'.toDouble(), foo('a') { x -> x!!.toDouble() })
|
||||
assertEquals(1.0.toByte(), foo(1.0) { x -> x!!.toByte() })
|
||||
assertEquals(1.0.toInt(), foo(1.0) { x -> x!!.toInt() })
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user