Denis Lochmelis
4b3dfe6e6e
[KT-58995] Fix UPUB bug
...
Add an explanation comment
2023-11-14 17:34:27 +00:00
Dmitriy Dolovov
d8eee222af
[KLIB] API 4 ABI: Add information about backing field annotations
...
^KT-62259
2023-11-14 17:20:45 +00:00
Dmitriy Dolovov
01f072bb7d
[KLIB] API 4 ABI: Add tests for public members of EEC
2023-11-14 17:20:45 +00:00
Ilya Goncharov
11b7c35eab
All tasks related to typescript generation made configuration avoidance compatible
...
^KTI-1471 fixed
2023-11-14 16:53:23 +00:00
Igor Chevdar
e43b232786
[K/N] Used KlibFingerprint hash instead of slow SHA-256
2023-11-14 16:06:47 +00:00
Igor Chevdar
cc69df0de6
[K/N] Optimized libraries hash computation
...
#KT-63081 Fixed
2023-11-14 16:06:47 +00:00
Yahor Berdnikau
ea49a9a292
[Gradle] Limit max heap size for Kotlin daemon in integration tests
...
This change should further reduce memory pressure on running these tests
on CI agents.
Kapt4 tests require more Kotlin daemon memory than default 1g. It is
a known issue and eventually should be addressed by the compiler team.
2023-11-14 15:40:38 +00:00
Nikolay Lunyak
425d5e808b
[FIR] Link some tests with issues
...
Just in case.
^KT-59874
2023-11-14 15:19:33 +00:00
Nikolay Lunyak
41c5934d4e
[FIR] Don't forget to ignore hidden imports
...
^KT-59874
2023-11-14 15:19:33 +00:00
Nikolay Lunyak
c656a83a02
[FIR] Don't miss non-const annotation args
...
This code with `b()` crashes the JVM
backend.
^KT-59822 Fixed
^KT-59874
2023-11-14 15:19:33 +00:00
Nikolay Lunyak
5a1a23afac
[FIR] Don't miss annotations on inits
...
^KT-59874
2023-11-14 15:19:33 +00:00
Nikolay Lunyak
63f461a6cd
[FIR] Don't miss annotations on for loops variables
...
^KT-59874
2023-11-14 15:19:32 +00:00
Nikolay Lunyak
d03039b949
[FIR] Don't generate property fields when context receivers are present
...
^KT-59874
2023-11-14 15:19:32 +00:00
Nikolay Lunyak
4b67a504be
[FIR] Only support @ExtensionFunctionType on true functional types
...
^KT-59874
2023-11-14 15:19:32 +00:00
Nataliya.Valtman
6210da0c98
Ignore ConcurrencyModificationExceptions at project.tasks.names
...
#KT-62131: Fixed
2023-11-14 14:39:11 +00:00
Artem Daugel-Dauge
4df73551c7
[Gradle] Don't depend on generated podspec in synthetic podInstall task
...
^KT-63331 Verification Pending
2023-11-14 14:30:43 +00:00
Mikhail Glukhikh
be5a27dd6b
K2: add test to confirm KT-56409 now works properly
2023-11-14 14:25:13 +00:00
Artem Daugel-Dauge
104d5e420e
[Code Owners] Add Apple Ecosystem team to CODEOWNERS
2023-11-14 13:50:55 +00:00
Aleksei.Glushko
f7057edce1
[K/N] Extract common part of gc runtime tests (2/2)
...
Restore ParallelMarkConcurrentSweepTest.cpp with new content.
2023-11-14 13:39:45 +00:00
Aleksei.Glushko
8180400a36
[K/N] Extract common part of gc runtime tests (1/1)
...
Move all the tests in a header file
and make them instantiatable with different tracing GC implementations.
2023-11-14 13:39:45 +00:00
Mikhail Glukhikh
cf9bd44cf7
K2: add test to confirm KT-54139 now works properly
2023-11-14 13:33:18 +00:00
Svyatoslav Scherbina
bb608740cd
Bump Kotlin/Native version in KGP to 2.0.0-dev-7404
2023-11-14 12:47:34 +00:00
Svyatoslav Kuzmich
1c230c8f27
[Wasm] Port WasmImport/WasmExport checker to K2 (KT-56849)
2023-11-14 12:24:10 +00:00
Dmitrii Gridin
28895a2613
[FIR] FirAnnotationArgumentsTransformer: fix scope problem with type parameters
...
We should wrap outer declaration to avoid FirTowerDataMode.CLASS_HEADER_ANNOTATIONS
^KT-63396 Fixed
2023-11-14 10:46:43 +00:00
Dmitrii Gridin
2ee9fcab9b
[FIR] add diagnostic test for annotations inside type parameters
...
^KT-63396
2023-11-14 10:46:43 +00:00
Artem Kobzar
bec434d534
[K/JS] Save nullability from the original type of value parameters ^KT-63013 Fixed
2023-11-14 10:40:07 +00:00
Aleksandra.Arsenteva
83c90d0e4f
Add one more test for KT-61959
...
Generate FE tests
2023-11-14 10:09:54 +00:00
Abduqodiri Qurbonzoda
a3f5db566c
Remove KDoc for K/N ArrayList primary constructor
...
The documentation is provided for ArrayList class but describes its
primary constructor. Thus, in documentation website it appears
as ArrayList documentation. When no KDoc is provided, website generator
takes it from other platforms.
2023-11-14 09:47:25 +00:00
Troels Bjerre Lund
5a8faa8775
Align ListBuilder with native ArrayList
...
Furthermore, add test for ListBuilder.subList detection of concurrent
modification, and fix error in ListBuilder and ArrayList.
Fix KT-62346
2023-11-14 09:47:25 +00:00
Troels Bjerre Lund
d62dbbb1bd
Simplify K/N ArrayList
...
This commit specializes the existing Kotlin/Native stdlib ArrayList into
two subclasses:
* ArrayList
* ArraySubList
This avoids repeatedly checking whether a basic ArrayList is created as a
sublist of another ArrayList.
In the iterators, checkForComodification is marked for inlining, since
this significantly improves iterations performance.
A number of benchmarks are added to the native ring benchmark suite, to
test whether the changed runtime type of ArrayList.subList(...) has an
impact.
2023-11-14 09:47:25 +00:00
Alexander Udalov
39fda3535a
IR: fix internal visibility check in override builder
...
In case there are Java sources in the module, K2 creates two instances
of `FirModuleDescriptor` with the same name: one for Kotlin sources, one
for Java sources. When building fake overrides in IR, it's important to
understand that those are the same module. Currently it's done by
comparing the names, but in the future it may be improved in KT-62534.
The changed test was in fact unrelated to KT-61805, and the problem
there was rather that no fake override was created for internal property
`schemeState` in `InspectionProfileModifiableModel`.
2023-11-14 09:45:06 +00:00
Abduqodiri Qurbonzoda
c30eb1c56a
Stdlib buildscript error: file included in two modules #KT-63447
...
The error is reported only when K2 is enabled in stdlib
Merge-request: KT-MR-12930
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-11-13 22:52:50 +00:00
Alexander Udalov
54705e5afc
IR: copy context receiver parameters count in FakeOverrideCopier
...
#KT-63430 Fixed
2023-11-13 21:36:22 +00:00
Ilya Gorbunov
fc64e30829
[stdlib-js] Move jsTypeOf to a documentable source root and restore its kdoc
2023-11-13 20:06:27 +00:00
Ilya Gorbunov
27ed611e70
[stdlib] Minor cleanup of JS stdlib build
...
- Remove unused jsIrTarget variable
- Rename the directory with copied builtin sources
2023-11-13 19:21:08 +00:00
Ilya Gorbunov
5e61cb5098
[stdlib-docs] Fix JS stdlib source paths in API docs builds
2023-11-13 19:21:08 +00:00
Ilya Gorbunov
c69f36a8be
[stdlib-js] Move public API out of runtime helpers directory
2023-11-13 19:21:08 +00:00
Iaroslav Postovalov
a3b55cf758
[IR] Drastically simplify the hierarchy of IR origins
...
IrStatementOriginImpl and IrDeclarationOriginImpl were made final
classes to simplify the creation of them (a delegate provider was
added) and to optimize performance when comparing the origins by type
and name
2023-11-13 17:56:09 +00:00
Anton Lakotka
f2ddae533e
[Gradle] Create archive tasks for custom compilations
...
This change is needed for kotlin-test in order to support
correct project dependencies in kotlin.git repository.
^KT-62943 Verification Pending
2023-11-13 16:56:58 +00:00
Mikhail Glukhikh
e747793e62
FIR2IR: simplify applyAssigningArrayElementsToVarargInNamedForm a bit
2023-11-13 16:23:26 +00:00
Mikhail Glukhikh
4913c38e98
FIR2IR: insert spread for named argument against primitive vararg
...
#KT-60312 Fixed
2023-11-13 16:23:26 +00:00
Mikhail Glukhikh
4abce54748
K2: reproduce KT-60312
2023-11-13 16:23:26 +00:00
Mikhail Glukhikh
53ab32e0fb
Rename: ConeTypeVariableType.lookupTag -> typeConstructor
2023-11-13 15:10:48 +00:00
Mikhail Glukhikh
1ceec4d6d7
K2: make type variable based types not class like
...
#KT-57921 Fixed
#KT-62420 Fixed
2023-11-13 15:10:48 +00:00
Pavel Punegov
6053c94c8a
[K/N][build] Fix KT-56495: improve version manifest merge
...
Add missing input property to stdlib build task. This task should
consider kotlin/build version change.
Add a version check during the stdlib target task build. This check
should be done here instead of the final merge.
Fixes ^KT-56495
Merge-request: KT-MR-12906
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-11-13 14:45:06 +00:00
Mikhail Glukhikh
5c56f0ef77
K2: drop obsolete TODO about use-site targeted annotations
...
See comments in KT-59824
#KT-59824 Obsolete
2023-11-13 13:59:32 +00:00
Mikhail Glukhikh
9903b70e0a
K2: add test to confirm KT-58874 now works properly
...
#KT-58874 Obsolete
2023-11-13 12:26:28 +00:00
Vladimir Sukharev
d5e391c401
[K/N] Improve manual testing script for SpecialBackendChecks
2023-11-13 11:41:02 +00:00
Vladimir Sukharev
513738b5fe
[K/N] Fix test t51.kt for special backend checks
2023-11-13 11:41:02 +00:00
Ilya Goncharov
87e81d8562
[Gradle, JS] Distribution is copy task, webpack targeting to separate directory
...
^KT-63040 fixed
2023-11-13 10:56:04 +00:00