Roman Golyshev
46ae6136cb
Rewrite RedundantSamConstructorInspection to support more cases
...
- Now inspection does not rely on synthetic descriptors at all, instead
it uses `SamConversionOracle` and `SamConversionResolver` to detect
if the argument type support SAM conversion
- This transparently considers all language features like
`SAM conversions for kotlin functions`, `Functional interfaces` etc.
- In case of multiple SAM arguments, part of them can be converted only
when `SAM conversion per argument` is enabled
- Fix inspection and nj2k tests that were failing because of better
working inspection
- Rewrite automatically fixes multiple bugs that were present
- ^KT-36367 ^KT-36368 ^KT-36296 ^KT-36395 Fixed
2020-02-19 17:16:17 +03:00
..
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:13 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-07-25 14:34:36 +03:00
2019-04-03 11:24:19 +03:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:13 +03:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2020-02-04 21:34:53 +07:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2020-02-04 21:34:53 +07:00
2020-02-19 17:16:17 +03:00
2019-04-03 11:24:19 +03:00
2017-07-20 17:48:27 +03:00
2016-06-08 18:53:16 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-09-24 16:22:24 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-07-25 14:34:36 +03:00
2015-09-18 15:44:18 +03:00
2020-02-04 21:34:53 +07:00
2020-02-04 21:34:53 +07:00
2019-07-25 14:34:36 +03:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2015-09-18 15:44:18 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-07-08 16:36:18 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-07-25 14:34:36 +03:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2016-12-14 13:35:31 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00
2019-09-24 16:22:24 +03:00
2019-04-03 11:24:19 +03:00
2015-09-18 15:44:19 +03:00
2020-02-04 21:34:53 +07:00
2019-04-03 11:24:19 +03:00
2020-02-10 19:23:57 +03:00
2019-04-03 11:24:19 +03:00
2019-04-03 11:24:19 +03:00