Denis Zharkov
2ad8488e6a
FIR: Rewrite Java type mapping
...
Previoisly, there were two places where mapping had happened:
- toConeKotlinTypeWithNullability
- enhancePossiblyFlexible
The first one was used for supertypes and bounds and the second one
was used for other signature parts
The main idea is to perform type mapping once to a flexible type,
and then use it as it's needed (it's lower bound, or for the further ehnancement)
Also, this commit fixes flexibility for type arguments, see the tests
2020-02-19 15:53:34 +03:00
..
2020-02-03 16:45:19 +03:00
2020-02-12 16:05:11 +03:00
2020-02-03 16:45:19 +03:00
2019-08-22 10:55:07 +03:00
2020-02-19 15:53:34 +03:00
2020-02-19 15:53:34 +03:00
2020-02-03 16:45:19 +03:00
2020-02-19 15:53:34 +03:00
2020-02-19 15:53:34 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2020-02-19 15:53:34 +03:00
2019-08-22 10:55:07 +03:00
2019-08-22 10:55:07 +03:00
2020-02-03 16:45:19 +03:00
2019-11-19 10:43:46 +03:00
2019-11-19 10:43:46 +03:00
2019-05-28 10:20:40 +03:00
2017-08-29 18:01:36 +03:00
2017-08-29 18:01:36 +03:00
2019-11-11 15:40:49 +01:00
2019-11-11 15:40:49 +01:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2020-02-03 16:45:19 +03:00
2017-08-29 18:01:36 +03:00
2017-08-29 18:01:36 +03:00
2016-01-22 05:54:38 +03:00
2020-02-12 16:05:11 +03:00
2020-02-19 15:53:34 +03:00
2016-01-22 05:54:38 +03:00
2020-02-19 15:53:34 +03:00
2020-02-19 15:53:34 +03:00
2019-05-28 10:20:40 +03:00
2019-11-19 10:43:46 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2016-01-22 05:54:38 +03:00
2019-05-28 10:20:40 +03:00
2019-08-22 10:55:07 +03:00
2019-05-28 10:20:40 +03:00
2016-01-22 05:54:38 +03:00
2019-08-22 10:55:07 +03:00
2018-08-30 14:51:04 +03:00
2018-08-30 14:51:04 +03:00
2019-05-28 10:20:40 +03:00
2020-02-12 16:05:11 +03:00
2020-02-12 16:05:11 +03:00
2019-05-28 10:20:40 +03:00
2020-02-12 16:05:11 +03:00
2020-02-12 16:05:11 +03:00
2019-08-22 10:55:07 +03:00
2019-08-22 10:55:07 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2019-08-22 10:55:07 +03:00
2019-05-23 14:02:09 +03:00
2019-05-28 10:20:40 +03:00
2019-05-28 10:20:40 +03:00
2016-06-09 12:57:53 +03:00
2019-04-30 18:45:51 +03:00
2016-01-22 05:54:38 +03:00
2020-02-12 16:05:11 +03:00
2020-02-12 16:05:11 +03:00
2020-02-12 16:05:11 +03:00
2020-02-19 15:53:34 +03:00
2016-01-22 05:54:38 +03:00
2019-04-30 18:45:51 +03:00
2019-03-14 17:52:33 +03:00
2019-08-22 10:55:07 +03:00
2017-08-29 18:01:36 +03:00
2017-08-29 18:01:36 +03:00
2019-11-11 15:40:49 +01:00
2017-04-21 12:56:29 +03:00
2019-11-11 15:40:49 +01:00
2019-05-28 10:20:40 +03:00
2019-08-22 10:55:07 +03:00
2016-01-22 05:54:38 +03:00
2020-02-19 15:53:34 +03:00