Fix test data for IR fake override tests

This commit is contained in:
Mikhail Glukhikh
2024-03-05 16:47:31 +01:00
committed by Space Team
parent 266669272d
commit 60f9206d3b
36 changed files with 101 additions and 1468 deletions
@@ -468,8 +468,8 @@ FILE fqName:<root> fileName:/1.kt
key: CONST Boolean type=kotlin.Boolean value=false
value: CONST Boolean type=kotlin.Boolean value=false
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Boolean type=kotlin.Boolean value=true
value: CONST Boolean type=kotlin.Boolean value=true
@@ -34,6 +34,6 @@ fun test(a: A<Boolean>, b: B<Boolean?>) {
a.remove(key = true) /*~> Unit */
b.<get-size>() /*~> Unit */
b.put(key = false, value = false) /*~> Unit */
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = true, value = true)
b.set<Boolean?, Boolean?>(key = true, value = true)
b.remove(key = null) /*~> Unit */
}
@@ -444,14 +444,14 @@ FILE fqName:<root> fileName:/1.kt
key: CONST Null type=kotlin.Nothing? value=null
value: CONST Null type=kotlin.Nothing? value=null
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Null type=kotlin.Nothing? value=null
value: CONST Null type=kotlin.Nothing? value=null
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Boolean type=kotlin.Boolean value=true
value: CONST Boolean type=kotlin.Boolean value=true
@@ -39,8 +39,8 @@ fun test(a: A<Boolean>, b: B<Boolean?>) {
b.<get-size>() /*~> Unit */
b.put(key = false, value = false) /*~> Unit */
b.put(key = null, value = null) /*~> Unit */
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = null, value = null)
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = true, value = true)
b.set<Boolean?, Boolean?>(key = null, value = null)
b.set<Boolean?, Boolean?>(key = true, value = true)
b.get(key = null) /*~> Unit */
b.get(key = true) /*~> Unit */
b.remove(key = null) /*~> Unit */
@@ -394,14 +394,14 @@ FILE fqName:<root> fileName:/1.kt
key: CONST Null type=kotlin.Nothing? value=null
value: CONST Null type=kotlin.Nothing? value=null
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Null type=kotlin.Nothing? value=null
value: CONST Null type=kotlin.Nothing? value=null
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Boolean type=kotlin.Boolean value=true
value: CONST Boolean type=kotlin.Boolean value=true
@@ -35,8 +35,8 @@ fun test(a: A<Boolean>, b: B<Boolean?>) {
b.<get-size>() /*~> Unit */
b.put(key = false, value = false) /*~> Unit */
b.put(key = null, value = null) /*~> Unit */
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = null, value = null)
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = true, value = true)
b.set<Boolean?, Boolean?>(key = null, value = null)
b.set<Boolean?, Boolean?>(key = true, value = true)
b.get(key = null) /*~> Unit */
b.get(key = true) /*~> Unit */
b.remove(key = null) /*~> Unit */
@@ -640,14 +640,14 @@ FILE fqName:<root> fileName:/1.kt
key: CONST Null type=kotlin.Nothing? value=null
value: CONST Null type=kotlin.Nothing? value=null
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Null type=kotlin.Nothing? value=null
value: CONST Null type=kotlin.Nothing? value=null
CALL 'public final fun set <K, V> (key: K of kotlin.collections.set, value: V of kotlin.collections.set): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<K>: @[FlexibleNullability] kotlin.Boolean?
<V>: @[FlexibleNullability] kotlin.Boolean?
<K>: kotlin.Boolean?
<V>: kotlin.Boolean?
$receiver: GET_VAR 'b: <root>.B<kotlin.Boolean?> declared in <root>.test' type=<root>.B<kotlin.Boolean?> origin=null
key: CONST Boolean type=kotlin.Boolean value=true
value: CONST Boolean type=kotlin.Boolean value=true
@@ -50,8 +50,8 @@ fun test(a: A<Boolean>, b: B<Boolean?>) {
b.<get-size>() /*~> Unit */
b.put(key = false, value = false) /*~> Unit */
b.put(key = null, value = null) /*~> Unit */
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = null, value = null)
b.set<@FlexibleNullability Boolean?, @FlexibleNullability Boolean?>(key = true, value = true)
b.set<Boolean?, Boolean?>(key = null, value = null)
b.set<Boolean?, Boolean?>(key = true, value = true)
b.get(key = null) /*~> Unit */
b.get(key = true) /*~> Unit */
b.remove(key = null) /*~> Unit */