[FIR TEST] Update test data due to hardened receiver check (NB: broken)

In particular, nullable invoke extension call and some smart casts
are broken here
This commit is contained in:
Mikhail Glukhikh
2020-02-03 13:41:30 +03:00
parent 7dca4d2fee
commit 22068dd6ad
5 changed files with 11 additions and 13 deletions
@@ -22,5 +22,5 @@ interface TypePredicate : (KotlinType) -> Boolean {
fun <T : Any?> TypePredicate.expectedTypeFor(keys: Iterable<T>): Map<T, TypePredicate> =
keys.fold(SmartFMap.emptyMap<T, TypePredicate>()) { map, key ->
map.plus(key, this)
map.<!INAPPLICABLE_CANDIDATE!>plus<!>(key, this)
}