Rename: auto cast -> smart cast
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
fun foo(x: Int, list: List<Int>?) {
|
||||
when (x) {
|
||||
in list!! -> <!DEBUG_INFO_AUTOCAST!>list<!> : List<Int>
|
||||
in list!! -> <!DEBUG_INFO_SMARTCAST!>list<!> : List<Int>
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
|
||||
fun whenWithoutSubject(x: Int, list: List<Int>?) {
|
||||
when {
|
||||
x in list!! -> <!DEBUG_INFO_AUTOCAST!>list<!> : List<Int>
|
||||
x in list!! -> <!DEBUG_INFO_SMARTCAST!>list<!> : List<Int>
|
||||
else -> {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user