Tianyu Geng
765cad8448
FIR checker: substitute type parameters in dispatch receiver type
...
Consider the following code:
```
fun test(a: List<String>) {
a.first()
}
```
The dispatch receiver type of `first` in this case is `List<T>` before
this change. After this change, it's `List<String>`.
In addition, this change also replace the dispatch receiver type with
the more specific type if available. For example, consider the following
```
class MyList: ArrayList<String>()
fun test(a: MyList) {
a.get(0)
}
```
The dispatch receiver type of `get` is `MyList`, instead of
`ArrayList<String>`. That is, a fake override is created in this case.
2021-09-17 01:59:06 +03:00
..
2021-07-19 13:40:28 +03:00
2021-09-17 01:59:06 +03:00
2021-07-30 16:58:07 +00:00
2021-09-17 01:59:06 +03:00
2021-09-10 16:29:13 +03:00
2021-05-20 13:59:13 +03:00
2021-09-08 14:47:51 +03:00
2021-09-13 20:48:55 +03:00
2021-07-20 10:33:49 +03:00
2021-09-17 01:59:06 +03:00
2021-09-15 18:33:43 +00:00
2021-04-06 12:30:34 +03:00
2021-07-07 14:28:00 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-15 17:52:49 +03:00
2021-04-06 12:30:34 +03:00
2021-09-10 16:29:13 +03:00
2021-09-17 01:59:06 +03:00
2020-12-16 19:52:25 +03:00
2021-03-11 13:10:05 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2021-03-24 12:56:16 +03:00
2020-07-02 15:10:51 +03:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2021-04-13 21:36:31 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2020-09-11 12:13:33 +03:00
2021-04-06 12:30:34 +03:00
2021-05-17 22:33:18 +03:00
2021-04-09 12:32:45 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2021-05-20 20:20:40 +03:00
2021-09-13 13:53:12 +03:00
2021-04-21 16:18:21 +03:00
2021-04-06 12:30:34 +03:00
2021-04-06 12:30:34 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2020-11-16 15:50:39 +03:00
2021-05-13 16:13:43 +03:00
2021-08-10 15:09:25 +00:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2021-09-06 13:11:03 +03:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2021-04-06 12:30:34 +03:00
2020-11-16 15:50:39 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2020-04-23 10:37:41 +03:00
2021-04-06 12:30:34 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2021-09-06 13:11:03 +03:00
2020-12-16 19:52:25 +03:00
2020-12-16 19:52:25 +03:00
2021-04-06 12:30:34 +03:00
2021-04-06 12:30:34 +03:00