FIR: Adjust test data. FakeOverride -> SubssitutionOverride
This commit is contained in:
+2
-2
@@ -49,7 +49,7 @@ digraph boundSmartcastsInBranches_kt {
|
||||
13 [label="Const: Null(null)"];
|
||||
14 [label="Variable declaration: lvar goodA: R|A?|"];
|
||||
15 [label="Access variable R|<local>/list|"];
|
||||
16 [label="Function call: R|<local>/list|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<A>|>|()"];
|
||||
16 [label="Function call: R|<local>/list|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<A>|>|()"];
|
||||
17 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<A>|"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
@@ -68,7 +68,7 @@ digraph boundSmartcastsInBranches_kt {
|
||||
color=blue
|
||||
24 [label="Enter block"];
|
||||
25 [label="Access variable R|<local>/<iterator>|"];
|
||||
26 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|A|>|()"];
|
||||
26 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|A|>|()"];
|
||||
27 [label="Variable declaration: lval a: R|A|"];
|
||||
subgraph cluster_10 {
|
||||
color=blue
|
||||
|
||||
+2
-2
@@ -10,9 +10,9 @@ FILE: boundSmartcastsInBranches.kt
|
||||
}
|
||||
public final fun test_0(list: R|kotlin/collections/List<A>|): R|kotlin/Unit| {
|
||||
lvar goodA: R|A?| = Null(null)
|
||||
lval <iterator>: R|kotlin/collections/Iterator<A>| = R|<local>/list|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<A>|>|()
|
||||
lval <iterator>: R|kotlin/collections/Iterator<A>| = R|<local>/list|.R|SubstitutionOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<A>|>|()
|
||||
while(R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()) {
|
||||
lval a: R|A| = R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|A|>|()
|
||||
lval a: R|A| = R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/Iterator.next: R|A|>|()
|
||||
when () {
|
||||
==(R|<local>/goodA|, Null(null)) -> {
|
||||
R|<local>/goodA| = R|<local>/a|
|
||||
|
||||
Reference in New Issue
Block a user