Commit Graph

97886 Commits

Author SHA1 Message Date
Dmitrii Gridin e2e87bd107 [FIR] CustomAnnotationTypeAttribute: drop redundant type specification
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:05 +00:00
Dmitrii Gridin a49b72b05e [AA] update testData
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:05 +00:00
Dmitrii Gridin 0420be603f [FIR] ScopeClassDeclaration: introduce new property to avoid container clash
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:04 +00:00
Dmitrii Gridin 6635ec33d9 [AA] KtTypeInfoProvider: update kdoc
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:04 +00:00
Dmitrii Gridin 7f24a38997 [FIR] FirTypeResolveTransformer: support lazy type annotations for all declarations
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:04 +00:00
Dmitrii Gridin 73cdaf5c3c [FIR] CustomAnnotationTypeAttribute: support type aliases
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:03 +00:00
Dmitrii Gridin 0e2967e520 [FIR] FirTypeResolveTransformer: avoid super call
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:03 +00:00
Dmitrii Gridin 09a77d261d [AA] KtTypeInfoProvider: introduce fullyExpandedType extension
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:03 +00:00
Dmitrii Gridin 8ce4c4eba9 [FIR] CustomAnnotationTypeAttribute: store fir symbol instead of declaration
^KTIJ-23547
^KTIJ-24141
2023-01-19 10:53:02 +00:00
Dmitrii Gridin 9d42a5cb01 [FIR] provide containerDeclaration to CustomAnnotationTypeAttribute for lazy resolve
tested by FirIdeNormalAnalysisSourceModuleSymbolByPsiTestGenerated.testTypeAnnotations

^KTIJ-23547 Fixed
^KTIJ-24141 Fixed
2023-01-19 10:53:02 +00:00
Dmitrii Gridin f32483000a [AA FIR] KtFirAnnotationListForDeclaration: avoid resolve on creation 2023-01-19 10:53:02 +00:00
Ilya Goncharov 843805d771 [Gradle, JS] Update detecting of platform and architecture
[Gradle, JS] Make hash codes compatible with previous kotlin

^KT-38015 fixed
^KT-48631 fixed
^KT-43305 fixed
2023-01-19 10:23:09 +00:00
Denis.Zharkov b1bb7dd25f K1: Fix regression with callable references as last statements in lambda
^KT-55729 Fixed
2023-01-19 10:00:02 +00:00
Denis.Zharkov a37e3def14 Add test for KT-55931 2023-01-19 10:00:02 +00:00
Ilmir Usmanov d18672bfb1 Wrap continuation with ContinuationImpl on callable references
in startCoroutineUninterceptedOrReturn. Otherwise, the coroutine will
not be interceptable later.

Add a test, which checks, that intercepted continuation is released.

 #KT-55869
2023-01-19 00:35:36 +00:00
Alexander Shabalin 9a2cb2609f [K/N] Extract LlvmLink out of CompileToBitcode ^KT-53776
Merge-request: KT-MR-8120
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2023-01-18 21:41:17 +00:00
Sergey Bogolepov 8e37a07af2 [K/N] Show warning when compiling for a deprecated target 2023-01-18 16:17:13 +00:00
Sergey Bogolepov 955479752e [K/N] Mention deprecation in -list-targets flag 2023-01-18 16:17:13 +00:00
Igor Chevdar bd24fc4f0c [IR] Don't wrap KotlinExceptionWithAttachments
#KT-56015 Fixed
2023-01-18 15:47:48 +00:00
Sergey.Shanshin d063db3ce0 Fixed missing fallback serializer in contextual serializer
Fixes Kotlin/kotlinx.serialization#2158

Merge-request: KT-MR-8338
Merged-by: Sergey Shanshin <Sergey.Shanshin@jetbrains.com>
2023-01-18 15:47:26 +00:00
Alexander.Likhachev da24e5559b [Gradle] Mention related tickets in BuildServiceDeclarationIT
#KT-55563
#KT-55740
2023-01-18 15:29:10 +00:00
Alexander.Likhachev 278229d2fa [Gradle] Inverse usesService declaration
KT-52149 Fixed
2023-01-18 15:29:10 +00:00
Alexander.Likhachev 36a6809d55 [Gradle] Declare build services usages for the Kotlin/JS plugin
#KT-52149 In Progress
2023-01-18 15:29:09 +00:00
Alexander.Likhachev 02bf10f21a [Gradle] Declare build services usages for the Kotlin/JVM plugin
#KT-52149 In Progress
#KT-55174 Fixed
#KT-55741 Fixed
2023-01-18 15:29:09 +00:00
Alexander.Likhachev d360feb847 [Gradle] Add tests for KT-52149, KT-55174, and KT-55741 2023-01-18 15:29:09 +00:00
Mikhail Glukhikh c8db20bd0b Compiler: restore an opportunity to switch light tree mode OFF
#KT-55996 Fixed
2023-01-18 14:01:22 +00:00
Dmitrii Gridin 5aef179a3d [LC] fix testData 2023-01-18 14:11:14 +01:00
Nikolay Krasko d81feabb69 Temporary trust both Kotlin 1.8.20 and 1.9.0 develop and bootstrap 2023-01-18 13:41:42 +01:00
Pavel Kunyavskiy 2843c0ad1e [K/N] Fix cleaning stack-local primitive array
^KT-55984
2023-01-18 11:52:43 +00:00
Sebastian Sellmair 9f850c1179 [Gradle] Fixup 'kotlinTestSingleDependencyMppJvmJs' to support new behaviour...
... of deprecated scoped DependenciesMetadata configurations.

^KT-55929 Verification Pending
2023-01-18 08:26:34 +00:00
Sebastian Sellmair 0ddefa1c02 [Gradle] Fixup 'kotlinTestSingleDependencyMppCommon' to support new behaviour...
... of deprecated scoped DependenciesMetadata configurations.

^KT-55929 Verification Pending
2023-01-18 08:26:34 +00:00
Sebastian Sellmair 10a1aab9bb [Gradle] Implement KT55929MetadataConfigurationsTest to leaking stdlib-common
^KT-55929 Verification Pending
2023-01-18 08:26:33 +00:00
Sebastian Sellmair d6a44c92b5 [Gradle] Implement KT55929MetadataConfigurationsTest to cover KT-55929
^KT-55929 Verification Pending
2023-01-18 08:26:33 +00:00
Sebastian Sellmair c0aa6cf873 [Gradle] Ensure deprecated *DependenciesMetadata configurations exclude common stdlib
^KT-55929 Verification Pending
2023-01-18 08:26:32 +00:00
Sebastian Sellmair cc684cce3d [Gradle] Ensure deprecated *DependenciesMetadata configurations carry necessary dependencies
^KT-55929 Verification Pending
2023-01-18 08:26:32 +00:00
Pavel Kunyavskiy fbc39fcab1 [K/N] Make a reproducer test for KT-55938
^KT-55938
2023-01-18 08:29:51 +01:00
Mads Ager e5417e8381 [K/N] Deal with external ObjC companion objects in cache builds.
^KT-55938 Fixed
2023-01-18 08:29:51 +01:00
Alexander.Likhachev 3dcf5af4b0 [IC] Add methods to write without explicit registering in a transaction
#KT-49785 In Progress
2023-01-17 22:15:57 +00:00
Alexander.Likhachev 581bc89849 [IC] Introduce ICContext to simplify configuration propagation to caches
#KT-49785 In Progress
2023-01-17 22:15:56 +00:00
Alexander.Likhachev 7171c2531c [IC] Apply IDEA suggestions to IC caches code 2023-01-17 22:15:56 +00:00
Alexander Likhachev 432b08e158 [Gradle] Convert taskOutputsBackupExcludes into SetProperty
#KT-49785 In Progress
2023-01-17 22:15:56 +00:00
Alexander Likhachev 0260d1d63f [IC] Move marking a transaction as successful up
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev db5df5c5ec [Gradle] Add Gradle integration tests with precise compilation outputs backup
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev 40a901caa1 [IC] Add unit tests for TransactionOutputsRegistrar
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev 1f2eb4c9fe [IC] Add unit tests for CompilationTransaction
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Alexander Likhachev d0c049cc00 [IC] Setup JUnit5 tests for :kotlin-build-common
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Alexander Likhachev bb51522cac [IC] Fix non-existing file removal in CompilationTransaction
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Alexander Likhachev 82a2cac4d6 [Gradle] Add debug logging into TaskOutputsBackup 2023-01-17 22:15:53 +00:00
Alexander Likhachev 87db928b2d [IC] Support precise output backup for jvm-abi-gen plugin
#KT-49785 In Progress
2023-01-17 22:15:53 +00:00
Alexander Likhachev 4c2923f96f [IC] Support precise output backup for kapt stubs
#KT-49785 In Progress
2023-01-17 22:15:53 +00:00