[FIR-TEST] Update testdata of old frontend tests
This commit is contained in:
+1
-1
@@ -3,5 +3,5 @@
|
||||
fun foo(y: String) {
|
||||
var x: String? = null
|
||||
y.let { x = it }
|
||||
x.length // Smart cast is not possible
|
||||
x.<!INAPPLICABLE_CANDIDATE!>length<!> // Smart cast is not possible
|
||||
}
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ fun test2(s: String?) {
|
||||
requireNotNull(s)
|
||||
t2 = true
|
||||
}
|
||||
t2.<!UNRESOLVED_REFERENCE!>not<!>()
|
||||
t2.not()
|
||||
s.length
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ fun test2(s: String?) {
|
||||
requireNotNull(s)
|
||||
t2 = true
|
||||
}
|
||||
t2.<!UNRESOLVED_REFERENCE!>not<!>()
|
||||
t2.not()
|
||||
s.length
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user