Pseudocode: Replace {<: Any?} type predicate with *
This commit is contained in:
@@ -8,8 +8,8 @@ tailRecursive fun sum(x: Long, sum: Long): Long {
|
||||
<v1>: Long NEW: magic[FAKE_INITIALIZER](sum: Long) -> <v1>
|
||||
x <v2>: OR{{<: Any}, {<: Any}} NEW: r(x) -> <v2>
|
||||
0 <v3>: {<: Number} NEW: r(0) -> <v3>
|
||||
toLong() <v4>: {<: Any?} NEW: call(toLong(), toLong|<v3>) -> <v4>
|
||||
0.toLong() <v4>: {<: Any?} COPY
|
||||
toLong() <v4>: * NEW: call(toLong(), toLong|<v3>) -> <v4>
|
||||
0.toLong() <v4>: * COPY
|
||||
x == 0.toLong() <v5>: Boolean NEW: call(x == 0.toLong(), equals|<v2>, <v4>) -> <v5>
|
||||
sum <v6>: Long NEW: r(sum) -> <v6>
|
||||
x <v7>: Long NEW: r(x) -> <v7>
|
||||
|
||||
Reference in New Issue
Block a user