Accurate representation of smart casts on complex expressions
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun baz(s: String?): Int {
|
||||
return <!DEBUG_INFO_SMARTCAST!>if (s == null) {
|
||||
""
|
||||
}
|
||||
else {
|
||||
val u: String? = null
|
||||
if (u == null) return 0
|
||||
u
|
||||
}<!>.length
|
||||
}
|
||||
Reference in New Issue
Block a user