[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
fun foo() {
|
||||
var v: String? = "xyz"
|
||||
// It is possible in principle to provide smart cast here
|
||||
v.<!INAPPLICABLE_CANDIDATE!>length<!>
|
||||
v = null
|
||||
v.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
}
|
||||
Reference in New Issue
Block a user