deprecating types after colon
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun foo(x: Int?): Boolean {
|
||||
val result = ((x!! == 0) && ((<!DEBUG_INFO_SMARTCAST!>x<!> : Int) == 0))
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!> : Int
|
||||
val result = ((x!! == 0) && (checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>x<!>) == 0))
|
||||
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>x<!>)
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user