Commit Graph

95737 Commits

Author SHA1 Message Date
Nikita Bobko 4e69d1248a Cleanup: drop unused LanguageFeature.State.ENABLED_WITH_ERROR
Review: https://jetbrains.team/p/kt/reviews/7418
2022-10-27 13:16:10 +02:00
Dmitriy Novozhilov e73049dfb0 [Native] Add workaround for KT-54668 2022-10-27 11:08:57 +00:00
Dmitriy Novozhilov bc9bc26cc8 [Test] Add test for KT-54668 2022-10-27 11:08:56 +00:00
Dmitriy Novozhilov f2cc5310b9 [Native] Fix code to make it compilable with K2
Check KT-54663 for details
2022-10-27 11:08:56 +00:00
Dmitriy Novozhilov 6bc952adff [Test] Add test for KT-54663 2022-10-27 11:08:56 +00:00
Dmitriy Novozhilov b7da00744b [FIR] Consider overridden getter for setter function for synthetic property
^KT-54662 Fixed
2022-10-27 11:08:55 +00:00
Dmitriy Novozhilov 1927369ae9 [Test] Add test for KT-54662 2022-10-27 11:08:55 +00:00
Dmitriy Novozhilov 027b1f861c [FIR] Update return type of delegated callables in ReturnTypeCalculator
^KT-54654 Fixed
2022-10-27 11:08:55 +00:00
Dmitriy Novozhilov f441151eab [FIR] Fix order of supertype scopes for supertypes of companion object
^KT-54645 Fixed
2022-10-27 11:08:54 +00:00
Dmitriy Novozhilov d54503e66c [Test] Add test for KT-54645 2022-10-27 11:08:54 +00:00
Nikolay Lunyak 7e323f8ac6 [FIR] KT-54692: Fix compiler crash on UInt.shl
Merge-request: KT-MR-7513
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
2022-10-27 10:40:06 +00:00
Yahor Berdnikau 34478b84cd Update KotlinJavaToolchain tests
^KT-50115
2022-10-27 11:51:05 +02:00
Sergej Jaskiewicz 0e3f48314a [JS IR] Improve stepping test executor
Don't search for box function in the generated code;
instead, stop the execution right before calling it.

This makes stepping tests more accurate.
2022-10-27 09:28:05 +00:00
Sebastian Sellmair edd0e5e0bf [Gradle][Minor] Move KotlinCompilationImplFactories out of constructors
^KT-54312 Verification Pending
2022-10-27 09:13:17 +00:00
Sebastian Sellmair f109b11746 [Gradle][Minor] Fix naming of KotlinCompilationAssociator impls
^KT-54312 Verification Pending
2022-10-27 09:13:17 +00:00
Sebastian Sellmair 331294c747 [Gradle][Minor] Rename KotlinCompilationProjection to KotlinCompilationInfo
^KT-54312 Verification Pending
2022-10-27 09:13:16 +00:00
Sebastian Sellmair f148390e14 [Gradle] Rename KotlinCompilationData to GradleKpmCompilationData
^KT-54312 Verification Pending
2022-10-27 09:13:16 +00:00
Sebastian Sellmair b3d82c74fe [Gradle] KotlinCompilation: Remove .ownModuleName vs .moduleName duplication
This mechanism is simply not necessary anymore.
Just using the 'ownModuleName' as the value of 'moduleName' is
sufficient.

^KT-54312 Verification Pending
2022-10-27 09:13:16 +00:00
Sebastian Sellmair 02df7a7d4c [Gradle] KotlinCompileConfig: Respect moduleName from parentKotlinOptions
^KT-54312 Verification Pending
2022-10-27 09:13:15 +00:00
Sebastian Sellmair 51c71efa2e [Gradle] Add additional logging for setting .moduleName in compiler args
^KT-54312 Verification Pending
2022-10-27 09:13:15 +00:00
Sebastian Sellmair 570524a1a9 [Gradle] KotlinNativeCompile: Do not use transient compilation field during execution
^KT-54312 Verification Pending
2022-10-27 09:13:15 +00:00
Sebastian Sellmair 7b377538b1 [Gradle][Minor] Move castKotlinOptionsType and castCompilerOptionsType into kotlinCompilations.kt
^KT-54312 Verification Pending
2022-10-27 09:13:14 +00:00
Sebastian Sellmair bb2a52a10c [Gradle][Minor] Inline usage of addSourcesToKotlinNativeCompileTask
^KT-54312 Verification Pending
2022-10-27 09:13:14 +00:00
Sebastian Sellmair 536448eb32 [Gradle][Minor] KotlinMetadataTarget: Use KotlinOnlyTarget<KotlinCompilation>>
^KT-54312 Verification Pending
2022-10-27 09:13:13 +00:00
Sebastian Sellmair f097137d61 [Gradle][Minor] KotlinSourceSetProcessor: Simplify .javaSourceSet
^KT-54312 Verification Pending
2022-10-27 09:13:13 +00:00
Sebastian Sellmair 8fe0c88ab1 [Gradle][Minor] KotlinCompilationProjection: Inline .isMainCompilationDatas
^KT-54312 Verification Pending
2022-10-27 09:13:13 +00:00
Sebastian Sellmair cf55af55d6 [Gradle][Minor] Rename DefaultKotlinCompilationDependencyConfigurationsFactory.kt
^KT-54312 Verification Pending
2022-10-27 09:13:12 +00:00
Sebastian Sellmair 0a9c1ee877 [Gradle][Minor] Move implementations of KotlinCompilationTaskNamesContainer into single source
^KT-54312 Verification Pending
2022-10-27 09:13:12 +00:00
Sebastian Sellmair 5db60e3ebd [Gradle][Minor] Move implementations of KotlinCompilerOptionsFactory into single source
^KT-54312 Verification Pending
2022-10-27 09:13:12 +00:00
Sebastian Sellmair 06e594c400 [Gradle][Minor] Move implementations of KotlinCompilationSourceSetsContainerFactory into single source
^KT-54312 Verification Pending
2022-10-27 09:13:11 +00:00
Sebastian Sellmair 8e8a8f7b8e [Gradle] Move deprecated configurations into KotlinCompilationConfigurationsContainer
^KT-54312 Verification Pending
2022-10-27 09:13:11 +00:00
Sebastian Sellmair b7e2923103 [Gradle] Move pluginConfiguration into KotlinCompilationConfigurationsContainer
^KT-54312 Verification Pending
2022-10-27 09:13:10 +00:00
Sebastian Sellmair b383e7cd38 [Gradle] Remove CompilationDetails.kt
^KT-54312 Verification Pending
2022-10-27 09:13:10 +00:00
Sebastian Sellmair c71517399e [Gradle] Remove Compiler.*Options typealias
^KT-54312 Verification Pending
2022-10-27 09:13:10 +00:00
Sebastian Sellmair 3bc4e291ff [Gradle] JsKotlinDependencyConfigurationsFactory: Fix compileClasspath and runtimeClasspath
^KT-54312 Verification Pending
2022-10-27 09:13:09 +00:00
Sebastian Sellmair 5f717ffd56 [Gradle] KotlinCompilationImplFactory.PostConfigure: Use DecoratedKotlinCompilation
to clear up dedicated usage

KT-54312
2022-10-27 09:13:09 +00:00
Sebastian Sellmair 18392d98ea [Gradle] Update API references
KT-54312
2022-10-27 09:13:09 +00:00
Sebastian Sellmair 69b7cef2e2 [Gradle] Restore AbstractKotlinCompilation and AbstractKotlinCompilationToRunnableFiles...
... into KotlinCompilation class hierarchy (scheduled for removal later)

KT-54312
2022-10-27 09:13:08 +00:00
Sebastian Sellmair 1737daea55 [Gradle] Remove CompilationDetails (in favor of new KotlinCompilationImpl)
KT-54312
2022-10-27 09:13:08 +00:00
Sebastian Sellmair af19882589 [Gradle] Implement KotlinWithJavaCompilation with underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:07 +00:00
Sebastian Sellmair e890e8178b [Gradle] Implement KotlinJvmAndroidCompilation with underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:07 +00:00
Sebastian Sellmair 0069457b94 [Gradle] Implement KotlinJs*Compilation with underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:07 +00:00
Sebastian Sellmair 0729d7519c [Gradle] Implement KotlinCommonCompilation with underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Sebastian Sellmair 4cbd715b17 [Gradle] Implement Kotlin*NativeCompilations with underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Sebastian Sellmair a67b2a8be5 [Gradle] Implement KotlinJvmCompilation with new underlying KotlinCompilationImpl
KT-54312
2022-10-27 09:13:06 +00:00
Sebastian Sellmair 35dacd6add [Gradle] Remove KPM<->TCS Model Mapping
KT-54312
2022-10-27 09:13:05 +00:00
Sebastian Sellmair 8e2f6d0f3a [Gradle][Minor] Move CompilationDetails impls into separate package
KT-54312
2022-10-27 09:13:05 +00:00
Sebastian Sellmair 5777f4859c [Gradle][Minor] Move KotlinDependencyConfigurationsHolder into separate source file
KT-54312
2022-10-27 09:13:04 +00:00
Sebastian Sellmair 645d79d34a [Gradle][Minor] Move JsIrCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:04 +00:00
Sebastian Sellmair 72e20967dd [Gradle][Minor] Move JsCompilationDetails into separate source file
KT-54312
2022-10-27 09:13:04 +00:00