[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// !LANGUAGE: +SoundSmartCastsAfterTry
|
||||
|
||||
fun foo() {
|
||||
var s: String?
|
||||
s = "Test"
|
||||
try {
|
||||
s = "Other"
|
||||
} catch (ex: Exception) {}
|
||||
// Problem: here we do not see that 's' is always not-null
|
||||
s.hashCode()
|
||||
}
|
||||
Reference in New Issue
Block a user