Dmitriy Novozhilov
9807c67ae4
[FIR] Properly collect overriddens for method enhancement
...
If some java class has multiple supertypes then we need to collect
overriddens from all those types directly, even if superTypeScope
(which is FirTypeIntersectionScope in this case) returns only
one symbol from one of this types (not intersection one)
This is needed to proper enhancement in cases when some type occurs
multiple times in supertypes graph with different nullability
of arguments:
class ConcurrentHashMap<K, V> : AbstractMap<K!, V!>, MutableMap<K, V>
If we try to find method `get(key: K): V` supertype scope returns
`AbstractMap.get(key: K!): V!` (because it actually overrides
`MutableMap(key: K): V?`), but we need to get both symbols to
properly enhance types for `ConcurrentHashMap.remove`
2021-11-22 17:01:17 +03:00
..
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-11-12 12:53:32 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2020-11-26 00:15:13 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-11-22 17:01:17 +03:00
2021-11-22 17:01:17 +03:00
2021-10-12 17:26:36 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-06-24 16:13:02 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-11-22 17:01:17 +03:00
2021-11-22 17:01:17 +03:00
2021-10-12 17:26:36 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-07-21 22:25:44 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-11-26 00:15:13 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-06-08 16:19:37 +03:00
2020-11-26 00:14:03 +03:00
2021-10-12 17:26:36 +03:00
2020-11-26 00:15:13 +03:00
2021-10-12 17:26:36 +03:00
2020-07-30 13:18:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-11-26 00:15:13 +03:00
2021-10-12 17:26:36 +03:00
2020-10-06 17:08:24 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-06-16 21:16:43 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-02-20 10:59:22 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-04-21 17:36:12 +03:00
2021-10-12 17:26:36 +03:00
2021-07-02 17:55:20 +03:00
2021-10-12 17:26:36 +03:00
2021-07-02 17:55:20 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-11-26 00:15:13 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-11-22 17:01:17 +03:00
2021-11-22 17:01:17 +03:00
2021-10-12 17:26:36 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-04-01 20:07:47 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-11-22 17:01:17 +03:00
2021-11-22 17:01:17 +03:00
2021-10-12 17:26:36 +03:00
2021-11-17 15:26:38 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00
2020-11-26 00:15:13 +03:00
2021-10-12 17:26:36 +03:00
2021-10-12 17:26:36 +03:00