[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// !LANGUAGE: +SoundSmartCastsAfterTry
|
||||
|
||||
fun bar(arg: Any?) = arg
|
||||
|
||||
fun foo() {
|
||||
var s: String?
|
||||
s = null
|
||||
try {
|
||||
s = "Test"
|
||||
} catch (ex: Exception) {}
|
||||
bar(s)
|
||||
if (s != null) { }
|
||||
s.<!UNRESOLVED_REFERENCE!>hashCode<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user