Rename: auto cast -> smart cast

This commit is contained in:
Svetlana Isakova
2014-09-29 23:09:05 +04:00
parent 20f3403c80
commit ce01c61811
294 changed files with 840 additions and 842 deletions
@@ -1,6 +1,6 @@
//KT-600 Problem with 'sure' extension function type inference
fun <T : Any> T?._sure() : T { if (this != null) return <!DEBUG_INFO_AUTOCAST!>this<!> else throw NullPointerException() }
fun <T : Any> T?._sure() : T { if (this != null) return <!DEBUG_INFO_SMARTCAST!>this<!> else throw NullPointerException() }
fun test() {
val i : Int? = 10