Files
kotlin-fork/compiler/testData/codegen/box
Dmitriy Novozhilov 40e286b354 [FIR] Increase level of sequential when branches
Level of CFGNode is used to determine which call is a common one for
  creating node with union of arguments (to merge flow from multiple
  in-place lambdas). Before this change calls in different when branches
  may have same node level, which entail passing smartcasts from moddle of
  one branch to another

```
val x: Any = ...
when {
    ... -> run { x as String } // (1)
    ... -> {
        run {
            x.foo()
        } // (2)
        "hello"
    }
}
```

Call `(1)` was assumed as argument of call `(2)` which is incorrect

#KT-44814 Fixed
2021-02-16 17:51:31 +03:00
..
2020-11-09 16:04:43 +03:00
2020-12-23 21:50:09 +03:00
2020-12-11 06:36:42 +01:00
2020-11-09 16:04:43 +03:00
2020-11-09 16:04:43 +03:00
2020-11-09 16:04:43 +03:00
2021-02-11 13:50:09 +01:00
2020-11-09 16:04:43 +03:00
2021-02-09 11:33:34 +03:00
2020-11-09 16:04:43 +03:00
2020-11-09 16:04:43 +03:00
2020-11-09 16:04:43 +03:00
2021-01-28 18:01:21 +01:00
2020-11-09 16:04:43 +03:00
2020-12-23 21:50:08 +03:00
2020-11-09 16:04:43 +03:00
2020-11-09 16:04:43 +03:00
2020-11-09 16:04:43 +03:00
2020-05-09 21:11:40 +03:00
2021-02-11 13:50:09 +01:00
2020-11-09 16:04:43 +03:00
2021-02-03 19:18:29 +01:00
2021-02-11 13:50:09 +01:00