Test refactoring
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo(p: String?): Int {
|
||||
// We should get smart cast here
|
||||
val x = if (p != null) { <!DEBUG_INFO_SMARTCAST!>p<!> } else "a"
|
||||
return x.length()
|
||||
}
|
||||
Reference in New Issue
Block a user