deprecating types after colon
This commit is contained in:
+4
-2
@@ -1,10 +1,12 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun arrayAccessRHS(a: Int?, b: Array<Int>) {
|
||||
b[0] = a!!
|
||||
<!DEBUG_INFO_SMARTCAST!>a<!> : Int
|
||||
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>a<!>)
|
||||
}
|
||||
|
||||
fun arrayAccessLHS(a: Int?, b: Array<Int>) {
|
||||
b[a!!] = <!DEBUG_INFO_SMARTCAST!>a<!>
|
||||
<!DEBUG_INFO_SMARTCAST!>a<!> : Int
|
||||
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>a<!>)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user