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