Rename: auto cast -> smart cast
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
trait Tree {}
|
||||
|
||||
fun Any?.TreeValue() : Tree {
|
||||
if (this is Tree) return <!DEBUG_INFO_AUTOCAST!>this<!>
|
||||
if (this is Tree) return <!DEBUG_INFO_SMARTCAST!>this<!>
|
||||
throw Exception()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user