[FIR] Tests. Update some outdated FIR testdata

This commit is contained in:
Dmitriy Novozhilov
2019-08-30 15:55:33 +03:00
parent f494e0008c
commit 5c29af4b53
48 changed files with 332 additions and 301 deletions
@@ -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|)
+1 -1
View File
@@ -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|
}
+1 -1
View File
@@ -5,7 +5,7 @@ FILE: whenAsReceiver.kt
throw <Unresolved name: KotlinNullPointerException>#()
}
else -> {
R|<local>/<bangbang>|!
R|<local>/<bangbang>|
}
}