Rename: auto cast -> smart cast
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
//KT-2212 Incomplete nullability information
|
||||
package kt2212
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val x: Int? = 1
|
||||
if (x == null) return
|
||||
System.out.println(<!DEBUG_INFO_SMARTCAST!>x<!>.plus(x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>))
|
||||
}
|
||||
Reference in New Issue
Block a user