Anastasia.Nekrasova
e58b5e7d22
K2: change resolution for deprecated actual declaration
...
This commit addresses a scenario where an 'actual' declaration is marked
with a Deprecated annotation at the 'Hidden' level, while the
corresponding 'expect' declaration is not. When resolving,
'CheckHiddenDeclaration' marks the 'actual' declaration as unsuccessful,
leading to the selection of the 'expect' declaration as the successful
candidate.
'FirDeprecationChecker' handles a case where an 'actual' class is
annotated with Deprecated, but the 'expect' class is not. During the
checking of the 'actual' class constructor, 'CheckHiddenDeclaration'
skips it due to the absence of a direct Deprecated annotation.
'FirDeprecationChecker' then identifies this constructor and reports a
DEPRECATION_ERROR.
'FirDeprecationChecker' will now be applied to solving problems related
to 'actual' declarations with corresponding Deprecated annotations. The
process remains the same: 'CheckHiddenDeclaration' will skip the
'actual' declaration, and then 'FirDeprecationChecker' will identify it
and report the error.
^KT-61792 Fixed
2023-12-14 09:21:43 +00:00
..
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-12-05 13:30:14 +00:00
2023-12-14 09:21:43 +00:00
2023-11-27 10:17:54 +00:00
2023-08-31 12:32:25 +00:00
2023-11-10 19:36:09 +00:00
2023-12-04 13:08:23 +00:00
2023-11-20 13:36:27 +00:00
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-10-11 17:05:29 +00:00
2023-11-27 10:17:54 +00:00
2023-11-27 10:17:54 +00:00
2023-11-24 18:02:47 +00:00
2023-08-10 15:46:46 +00:00
2023-11-24 18:02:49 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:45 +00:00
2023-08-10 15:46:45 +00:00
2023-12-06 18:35:39 +00:00
2023-08-10 15:46:46 +00:00
2023-11-24 18:02:47 +00:00
2023-11-24 18:02:47 +00:00
2023-09-08 10:51:43 +00:00
2023-08-18 13:29:20 +00:00
2023-08-18 13:29:20 +00:00
2023-11-27 18:23:42 +00:00
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-12-04 13:08:23 +00:00
2023-11-28 13:30:26 +00:00
2023-11-10 19:36:09 +00:00
2023-08-10 15:46:46 +00:00
2023-08-10 15:46:46 +00:00
2023-09-06 16:30:28 +00:00
2023-09-06 16:30:28 +00:00
2023-11-07 10:24:35 +00:00
2023-11-07 10:24:35 +00:00
2023-11-27 10:17:54 +00:00
2023-11-10 19:36:09 +00:00
2023-08-15 16:34:23 +00:00
2023-10-16 10:48:08 +00:00
2023-11-07 20:05:59 +00:00
2023-09-11 13:57:28 +00:00
2023-09-11 13:57:28 +00:00
2023-09-08 10:51:43 +00:00
2023-11-10 19:36:09 +00:00
2023-11-06 14:41:22 +00:00
2023-11-10 19:36:09 +00:00
2023-08-30 14:35:59 +00:00
2023-09-08 10:51:43 +00:00
2023-07-24 09:48:48 +00:00
2023-07-24 09:48:48 +00:00
2023-09-08 10:51:43 +00:00
2023-09-08 10:51:43 +00:00
2023-11-27 18:23:42 +00:00
2023-10-20 14:37:10 +00:00
2023-08-28 09:29:05 +00:00
2023-08-28 09:29:05 +00:00
2023-11-24 18:02:47 +00:00
2023-10-20 14:37:10 +00:00
2023-11-24 18:02:47 +00:00
2023-08-10 15:46:45 +00:00
2023-11-27 10:17:54 +00:00
2023-11-10 19:36:09 +00:00
2023-11-06 14:41:22 +00:00
2023-08-10 15:46:48 +00:00
2023-11-10 19:36:09 +00:00
2023-08-10 15:46:47 +00:00
2023-12-05 13:30:14 +00:00
2023-12-05 13:30:14 +00:00
2023-12-13 18:42:14 +00:00
2023-08-31 07:52:02 +00:00
2023-10-20 14:37:10 +00:00
2023-08-31 07:52:02 +00:00
2023-10-20 14:37:10 +00:00
2023-11-10 19:36:09 +00:00
2023-11-10 19:36:09 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-11-27 18:23:42 +00:00
2023-08-10 17:46:08 +00:00
2023-08-10 17:46:08 +00:00
2023-11-10 19:36:09 +00:00
2023-12-04 13:08:23 +00:00
2023-11-06 14:41:16 +00:00
2023-12-04 13:08:23 +00:00
2023-10-06 12:29:01 +00:00
2023-11-27 18:23:43 +00:00
2023-11-27 18:23:43 +00:00
2023-11-06 14:41:22 +00:00
2023-11-10 19:36:09 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-10 19:36:09 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-11-07 15:53:54 +00:00
2023-12-04 13:08:23 +00:00
2023-11-01 19:14:20 +00:00