A set of additional tests for complex expressions DFA
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
fun baz(s: String?): String {
|
||||
val t = if (s == null) {
|
||||
""
|
||||
}
|
||||
else {
|
||||
val u: String? = null
|
||||
when (u) {
|
||||
null -> ""
|
||||
else -> u
|
||||
}
|
||||
}
|
||||
return <!DEBUG_INFO_SMARTCAST!>t<!>
|
||||
}
|
||||
Reference in New Issue
Block a user