Pavel Kunyavskiy
fb875c484d
[K/N] Implement instantiating of annotation class
2021-09-23 06:59:34 +00:00
Svyatoslav Scherbina
d4a8c51637
Native: report a warning on invalid characters in identifiers
...
This will become an error in Kotlin 1.7.
^KT-46182 Fixed
2021-08-31 08:50:14 +00:00
Leonid Startsev
83c1a75c1e
Revert "Revert "Instantiation of annotations for JVM IR with the corresponding feature flag""
...
Fix incorrectly rebased ce0a3a57df
This reverts commit 3d0126d5
2021-07-21 18:24:07 +03:00
Leonid Startsev
3d0126d5dd
Revert "Instantiation of annotations for JVM IR with the corresponding feature flag"
...
because of incorrect rebase
This reverts commit ce0a3a57
2021-07-21 15:23:24 +03:00
Leonid Startsev
ce0a3a57df
Instantiation of annotations for JVM IR with the corresponding feature flag
...
Seperate checker for platforms that do not support this language feature yet
Synthetic implementations of annotations are generated on-demand with proper
equals, hashCode, and annotationType methods
#KT-47699 Fixed
2021-07-21 10:23:51 +00:00
Svyatoslav Scherbina
c9f721848a
Fix Throws declaration in Native diagnostics tests
...
Align annotation target with real declaration in Native stdlib
2020-05-26 20:24:35 +03:00
Svyatoslav Scherbina
fa152593ef
Fix false-positive @Throws error diagnostics in Native
...
Don't report
THROWS_LIST_EMPTY and MISSING_EXCEPTION_IN_THROWS_ON_SUSPEND
caused by unresolved arguments.
2020-05-26 20:24:34 +03:00
Svyatoslav Scherbina
242d0aa26e
Add Native diagnostics for @Throws suspend fun
...
`@Throws suspend fun` must have CancellationException accepted.
Also add more tests.
2020-05-26 20:24:32 +03:00
Denis Zharkov
0f9718bf0d
Add test on kotlin.native.Throws ambiguity
...
KT-35468
2020-04-29 09:17:55 +03:00
Denis Zharkov
45481b214a
Use kotlin.Throws in NativeThrowsChecker
...
KT-35468
2020-04-26 23:08:45 +03:00
LepilkinaElena
4f9364f997
Native specific frontend checker for @ThreadLocal ( #3293 )
2020-04-16 15:23:06 +03:00
LepilkinaElena
61f5523805
Added Native-specific checker for properties of top level singletons ( #3172 )
2020-03-06 14:58:09 +03:00
LepilkinaElena
b031706ea9
Added Native-specific frontend checker for @SharedImmutable ( #3091 )
2020-03-04 16:45:37 +03:00
Svyatoslav Scherbina
829e5908d0
Allow Native @Throws on override when the same list is specified
2020-02-14 17:10:58 +03:00
Svyatoslav Scherbina
5eedba3903
Add Native-specific frontend checker for @Throws
2020-02-06 11:00:31 +03:00