[FIR] Tests. Update some outdated FIR testdata
This commit is contained in:
@@ -5,7 +5,7 @@ FILE: nullability.kt
|
||||
Int(42)
|
||||
}
|
||||
else -> {
|
||||
R|<local>/<elvis>|!
|
||||
R|<local>/<elvis>|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ FILE: nullability.kt
|
||||
throw KotlinNullPointerException#()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/<bangbang>|!
|
||||
R|<local>/<bangbang>|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ FILE: factoryFunctionOverloads.kt
|
||||
throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/<bangbang>|!
|
||||
R|<local>/<bangbang>|
|
||||
}
|
||||
}
|
||||
, R|<local>/flag|)
|
||||
|
||||
@@ -23,7 +23,7 @@ FILE: hashSet.kt
|
||||
throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/<bangbang>|!
|
||||
R|<local>/<bangbang>|
|
||||
}
|
||||
}
|
||||
.R|/d| = R|/produce|<R|T?|>()
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
FILE: typeParameterDerived.kt
|
||||
public final inline fun <K, V, VA : R|V|> R|kotlin/collections/MutableMap<K, V>|.getOrPut(key: R|K|, defaultValue: R|kotlin/Function1<K, VA>|, postCompute: R|kotlin/Function1<VA, kotlin/Unit>|): R|V| {
|
||||
lval value: R|V| = R|FakeOverride<kotlin/collections/Map.get: R|V|>|(R|<local>/key|)
|
||||
lval value: R|V| = this@R|kotlin/collections/Map|.R|FakeOverride<kotlin/collections/Map.get: R|V|>|(R|<local>/key|)
|
||||
^getOrPut when () {
|
||||
==(R|<local>/value|, Null(null)) -> {
|
||||
lval answer: R|VA| = R|<local>/defaultValue|.R|FakeOverride<kotlin/Function1.invoke: R|VA|>|(R|<local>/key|)
|
||||
R|FakeOverride<kotlin/collections/MutableMap.put: R|V|>|(R|<local>/key|, R|<local>/answer|)
|
||||
this@R|kotlin/collections/MutableMap|.R|FakeOverride<kotlin/collections/MutableMap.put: R|V|>|(R|<local>/key|, R|<local>/answer|)
|
||||
R|<local>/postCompute|.R|FakeOverride<kotlin/Function1.invoke: R|kotlin/Unit|>|(R|<local>/answer|)
|
||||
R|<local>/answer|
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ FILE: whenAsReceiver.kt
|
||||
throw <Unresolved name: KotlinNullPointerException>#()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/<bangbang>|!
|
||||
R|<local>/<bangbang>|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user