Dmitrii Gridin
093695962a
[FIR] hacky fix lazy resolve contract violation for deprecation of enum entries
...
Enum entries can be used as types in Kotlin (even it's a compilation error)
To use the classifier as a type, we need to find if it's hidden or not.
The deprecations for classes are calculated on COMPILER_REQUIRED_ANNOTATION phase, and that's okay as it goes before the TYPES phase.
For enum entries, the deprecations are calculated on TYPES phase which goes on TYPES phase.
This is incorrect as we cannot jump from lower phase to upper phase
The hack ignores such deprecation search for enum entires.
Test: org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostic.compiler.based.LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.Tests.testEnumEntryAsType
^KT-57648
^KT-56543
2023-04-19 20:12:36 +00:00
..
2023-02-15 08:13:41 +00:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2021-03-29 16:12:29 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-31 15:01:50 +00:00
2023-03-02 10:23:38 +00:00
2021-04-21 16:18:21 +03:00
2023-03-02 10:23:38 +00:00
2021-04-02 14:36:14 +03:00
2022-09-30 21:39:20 +03:00
2023-03-02 10:23:38 +00:00
2022-11-23 18:29:29 +00:00
2022-09-12 10:45:23 +00:00
2022-09-12 10:45:23 +00:00
2021-03-01 16:57:54 +03:00
2023-03-02 10:23:38 +00:00
2021-03-01 16:57:54 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2021-03-29 16:12:29 +03:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:28 +03:00
2023-03-02 10:23:38 +00:00
2021-03-24 16:07:30 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-01-27 08:20:07 +00:00
2023-01-27 08:20:07 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2021-06-20 22:07:11 +02:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2021-10-20 22:05:24 +03:00
2021-07-13 10:35:01 +03:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2023-03-02 10:23:38 +00:00
2021-06-20 22:07:11 +02:00
2023-03-02 10:23:38 +00:00
2023-03-31 15:01:50 +00:00
2023-03-31 15:01:50 +00:00
2023-03-31 15:01:50 +00:00
2023-03-31 15:01:50 +00:00
2023-03-02 10:23:38 +00:00
2021-06-29 02:00:10 +03:00
2022-05-18 21:19:57 +03:00
2023-03-02 10:23:38 +00:00
2021-07-22 20:39:56 +03:00
2023-03-02 10:23:38 +00:00
2023-03-31 15:01:50 +00:00
2023-03-02 10:23:38 +00:00
2023-03-31 15:01:50 +00:00
2023-03-02 10:23:38 +00:00
2023-03-31 15:01:50 +00:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2023-03-02 10:23:38 +00:00
2023-04-19 20:12:36 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2021-07-22 20:39:56 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2021-03-29 16:12:29 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-01-13 21:32:51 +00:00
2023-01-13 21:32:51 +00:00
2023-03-02 10:23:38 +00:00
2021-08-13 18:32:27 +03:00
2021-08-13 18:32:27 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2021-02-15 19:16:35 +03:00
2023-03-02 10:23:38 +00:00
2023-01-13 21:32:51 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2020-09-29 10:23:45 +03:00
2020-09-29 10:23:45 +03:00
2023-03-02 10:23:38 +00:00
2020-09-29 10:23:45 +03:00
2020-09-29 10:23:45 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-31 15:01:50 +00:00
2021-05-06 17:50:33 +03:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00