Sebastian Sellmair
18a2ceebea
[Gradle] Keep deprecated KotlinTargetHierarchy in previous KotlinTargetHierarchy.kt source file
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
1cd8089e92
[Gradle] Move KotlinHierarchyTemplate.Templates.default into -api module
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
2a4f9b19f0
[Gradle] KotlinSourceSetConvention: KotlinSourceSet registration logic
...
Separate the retrieval and registration of KotlinSourceSets in the getValue function of KotlinSourceSetConvention. Add a custom Trace class to be stored in the isRegisteredByKotlinSourceSetConventionAt property for better readability and debugging purposes.
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
0b57dac738
[Gradle] Deprecate native target shortcuts ...
...
... in favor of default hierarchy template
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
845c8bd1c3
[Gradle] Implement KotlinGradlePluginDsl annotation and check in for binary compatibility validation
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
cec243ac3b
[Gradle] apply KotlinHierarchyTemplate.default, by default
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
b9a8f6dce2
[Gradle] KotlinPluginLifecycle: requiredStage: Wait for stage if necessary
...
^KT-58676 In Progress
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
1a143ec1a2
[Gradle] KotlinToolingDiagnostics: Allow providing stacktraces
...
^KT-58676 In Progress
2023-06-26 11:36:16 +00:00
Sebastian Sellmair
390b4e30a0
[Gradle][Minor] Move reporting of targets out of 'configureSourceSets'
...
^KT-58676 In Progress
2023-06-26 11:36:16 +00:00
Sebastian Sellmair
008a4c9593
[Gradle] Implement KotlinMultiplatformSourceSetConventions
...
... to give convenient access to known 'default' SourceSets
^KT-58676 In Progress
2023-06-26 11:36:16 +00:00
Sebastian Sellmair
b2dd83515c
[Gradle] Stabilise Kotlin Hierarchy Template DSL
...
- Remove 'Target' name from hierarchy components as in
- KotlinTargetHierarchyBuilder -> KotlinHierarchyBuilder
- KotlinTargetHierarchyDsl -> KotlinHierarchyDsl
- Rename KotlinTargetHierarchyDescriptor -> KotlinHierarchyTemplate
To convey a better intuition about the 'template' vs 'layout' separation:
A 'template' is used to 'layout' the actual 'hierarchy' on a given project.
- Move entities from .mpp.targetHierarchy to .hierarchy package
As the .targetHierarchy package was using the 'target' term as well
- Rename SourceSetTree to KotlinSourceSetTree
- Rename SourceSetTreeClassifier to KotlinSourceSetTreeClassifier
(Support external target APIs by introducing a V2 api version)
^KT-58676 In Progress
2023-06-26 11:36:16 +00:00
Alexander.Likhachev
cb087b7def
[Build] Bump gradle-node-plugin version to 5.0.0
...
This change is required to fix a configuration cache problem revealed after migration to Gradle 8.1
2023-06-26 10:36:25 +00:00
Alexander.Likhachev
1c00b7062e
[Build] Upgrade gradle wrapper files
...
This change was missed during the Gradle version bump
2023-06-26 10:36:25 +00:00
Sergej Jaskiewicz
2b4a08524d
[IR] Reorder parameters in IrFactory#createTypeParameter
...
This is to prepare for IrFactory auto-generation (KT-59308).
2023-06-26 09:52:11 +00:00
Sergej Jaskiewicz
b1f7b5e982
[IR] Reorder parameters in IrFactory#createTypeAlias
...
This is to prepare for IrFactory auto-generation (KT-59308).
2023-06-26 09:34:41 +00:00
Bogdan Mukvich
26a479918b
Add expected poms
...
^KTI-1103
2023-06-26 08:19:47 +00:00
Bogdan Mukvich
9160636a71
Implement artifacts test
...
^KTI-1103
2023-06-26 08:19:47 +00:00
Bogdan Mukvich
d1e5b252c9
Add artifacts-tests module
...
^KTI-1103
2023-06-26 08:19:47 +00:00
Vladimir Sukharev
09a0905ffc
[Test] Convert IGNORE: NATIVE directives in rest of tests
...
^KT-59057 Fixed
Merge-request: KT-MR-10794
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-06-26 07:44:12 +00:00
Svyatoslav Kuzmich
8a69904d02
~ Regenerate tests
2023-06-25 10:23:37 +02:00
Svyatoslav Kuzmich
29fa20e2aa
[Wasm] Extract Fir compiler tests into :wasmFirCompilerTest task
...
This is needed to run K1 and K2 tests in parallel on separate CI agents
2023-06-25 10:20:43 +02:00
Svyatoslav Kuzmich
4ad6fd4cde
[Wasm] Add RUN_UNIT_TESTS directive to unit-test compiler tests
2023-06-25 10:20:43 +02:00
Svyatoslav Kuzmich
a3e2d2804c
[Wasm] Update testData after adding K2 and new test infra support.
...
- Actualize muted K2 tests
- Actualize muted K1 tests with module systems because legacy Wasm test
infra had no respect for "// MODULE: ..." test directives
2023-06-25 10:20:40 +02:00
Svyatoslav Kuzmich
9b3237fff9
[Wasm] Initial K2 support in new test infrastructure (KT-57230)
...
- Implement FirWasmSessionFactory
- Use new compiler test infra for Wasm K1 and K2
- Delete old Wasm compiler test infra
2023-06-25 10:19:36 +02:00
Svyatoslav Kuzmich
3e564236f9
[Wasm] Fix unsigned types in IR interpreter
...
Wasm kotlin.Any class has properties,
additional filtering is required when searching for
value class property
2023-06-25 10:18:51 +02:00
Svyatoslav Kuzmich
b503eafcb2
[Wasm] Allow implementing function interfaces in the new test infra
...
Make it consistent with CLI and old test infra
2023-06-25 10:18:50 +02:00
Svyatoslav Kuzmich
736519c506
[JS] Rename JsLibraryProvider to LibraryProvider
...
This class is not JS-specific and can be used in Wasm test services
2023-06-25 10:18:50 +02:00
Artem Daugel-Dauge
7eec1b350f
[Tests] Try to make CocoaPods installation more robus once againt
2023-06-23 16:56:44 +00:00
Vladimir Sukharev
4d9f93e4eb
[K2/N/MPP] Disable one-stage MPP compilation
...
^KT-56855
Merge-request: KT-MR-10735
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-06-23 15:51:59 +00:00
Ivan Kylchik
bde6df8ca1
[IR] Correctly transform KCallable.name call to optimize it later
...
We need to transform call from `KFunction(N).name` to
`KFunction(N+1).name`. This way we keep IR correct and if something
goes wrong during interpretation, we still will have compilable code.
This commit suppose to fix three failing tests on Native aggregate
build:
1. `FirNativePartialLinkageTestGenerated.
testReferencingUnusableDeclarations`
2. `FirNativeCodegenBoxTestGenerated$Box$CallableReference$Bound.
testKCallableNameIntrinsic`
3. `FirNativeCodegenBoxTestNoPLGenerated$Box$CallableReference$Bound
.testKCallableNameIntrinsic`
2023-06-23 14:47:26 +00:00
Mikhail Glukhikh
ce4ad0e42a
Regenerate LightAnalysisModeTestGenerated test group
2023-06-23 16:44:50 +02:00
Mikhail Glukhikh
0d8f3a6026
K2: generate Java synthetics for Kotlin get/sets w/out type parameters
...
This commit is a follow-up to d8a20f19 and
provides additional K1 compatibility.
#KT-59550 Fixed
2023-06-23 16:44:50 +02:00
Mikhail Glukhikh
08a355756a
K2 (minor): fix modality in tests from d8a20f19
2023-06-23 16:44:49 +02:00
Mikhail Glukhikh
fcfee9384a
K2: reproduce KT-59550
2023-06-23 16:44:49 +02:00
Jinseong Jeon
e0fc0d96e5
AA: handle PsiType conversion for recursive type parameter case
...
^KT-59598 Fixed
2023-06-23 16:31:47 +02:00
Jinseong Jeon
2d132c6b73
SLC: run enum test w/ FULL_JDK
2023-06-23 16:19:06 +02:00
Jinseong Jeon
7f1424737e
LC: rework modality of enum class
...
It is abstract if it has abstract member.
It is final if it doesn't have enum entries that need subclass.
Otherwise, it is open (i.e., no modifier)
^KT-57567 Fixed
2023-06-23 16:19:06 +02:00
Vladimir Sukharev
7930885131
[Test] Convert IGNORE: NATIVE directives in box tests from M to R
...
^KT-59057
Merge-request: KT-MR-10757
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-06-23 14:15:48 +00:00
Vladimir Sukharev
d0dc292c30
[Test] Put descriptive comment to kt49316.kt
...
^KT-59057
Merge-request: KT-MR-10789
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-06-23 13:54:24 +00:00
Vladimir Sukharev
5c7d321e45
[Test] Convert IGNORE: NATIVE directives in box tests "sealed"
...
^KT-59057
Merge-request: KT-MR-10763
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-06-23 13:53:29 +00:00
Sergej Jaskiewicz
f46761a241
[IR] Reorder parameters in IrFactory#createClass
...
This is to prepare for IrFactory auto-generation (KT-59308).
2023-06-23 13:25:34 +00:00
Alexander.Likhachev
bfb314adcb
[BT] Mark the Build Tools API as experimental
2023-06-23 12:34:23 +00:00
Alexander.Likhachev
5993e4bce4
[BT] Introduce JVM compilation API
2023-06-23 12:34:23 +00:00
Alexander.Likhachev
2412693ef0
[BT] Move KotlinLogger to the bt-api module
...
#KT-57398 In Progress
2023-06-23 12:34:23 +00:00
Alexander.Likhachev
1005d0244a
[BT] Move KotlinLogger to the bt-api package
...
#KT-57398 In Progress
2023-06-23 12:34:23 +00:00
Alexander.Likhachev
6e07d432b3
Embed kotlin-build-tools-api into kotlin-compiler
...
#KT-57398 In Progress
2023-06-23 12:34:23 +00:00
Anna Kozlova
93887e1d7a
[LL] store builtin session as cached value
...
to invalidate builtins on stdlib update.
It is required after making builtins use stubs of stdlib.
2023-06-23 12:23:30 +00:00
Anna Kozlova
137f8b7c70
[decompiler] ensure names starting with numbers are escaped
...
^ KTIJ-25985
2023-06-23 11:17:46 +00:00
Denis.Zharkov
60f09f6512
K2: Adjust renaming on import for current package with K1 rules
...
Namely, once a file in a package `foo` has import `foo.bar as baz`,
auto imported `bar` from the package name becomes inivisible in the file
^KT-54854 Fixed
2023-06-23 10:58:08 +00:00
Jinseong Jeon
5d7ac18778
SLC: drop the assertion that class context shouldn't be null
...
...because it can be null if an anonymous object is returned as a value
of reified inline function, which isn't materialized as LC element.
^KT-59537 Fixed
2023-06-23 10:33:58 +00:00