[FIR-TEST] Mute some failing tests according to changes in DFA

This commit is contained in:
Dmitriy Novozhilov
2020-01-21 15:47:13 +03:00
parent 9bc62fc34d
commit d7c85406fb
5 changed files with 6 additions and 6 deletions
@@ -27,8 +27,8 @@ fun g(a: SomeClass?) {
c = Impl
if (c != null) {
// 'a' cannot be cast to SomeSubClass
a.<!INAPPLICABLE_CANDIDATE!>hashCode<!>()
a.<!UNRESOLVED_REFERENCE!>foo<!>
a.hashCode()
a.foo
(a as? SomeSubClass).<!INAPPLICABLE_CANDIDATE!>foo<!>
c.hashCode()
c.foo
@@ -52,7 +52,7 @@ fun kt4565_1(a: SomeClass?) {
a.data.hashCode()
}
if (a?.data is String) {
a.data.length
a.<!INAPPLICABLE_CANDIDATE!>data<!>.<!UNRESOLVED_REFERENCE!>length<!>
data.length
}
}
@@ -2,7 +2,7 @@
fun foo(arg: Int?): Int {
var i = arg
if (i != null && i++ == 5) {
return i-- + i
return i<!INAPPLICABLE_CANDIDATE!>--<!> + i
}
return 0
}