Alexander Korepanov
89e2af2047
[JS FIR] Fix the JsExport diagnostic for nullable primitive types
...
- Correctly handle nullable primitive types.
- Unsigned primitive arrays are not exportable.
^KT-64366 Fixed
2024-01-02 10:14:46 +00:00
Yahor Berdnikau
c4fc0b919d
[Gradle] Fix warnings in KotlinWithJavaCompilation
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Yahor Berdnikau
09a6f95a15
[Gradle] Fix warnings in KotlinJvmCompilation
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Yahor Berdnikau
ffefe99e20
[Gradle] Fix warnings in KotlinJvmAndroidCompilationFactory
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Yahor Berdnikau
77830cc46a
[Gradle] Fix warnings in KotlinJvmAndroidCompilation
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Artem Kobzar
327085e026
[K/Wasm] Unmute most of the stepping tests for Wasm in K1
2023-12-28 16:32:10 +00:00
Nataliya.Valtman
3fd9e22f37
Remove KotlinBuildStatsService.getInstance() calls
...
#KT-58768 In Progress
2023-12-28 13:35:19 +00:00
Igor Chevdar
94b35570ed
[K/N][tests] Added some tests on multi-module file initialization
2023-12-28 12:13:24 +00:00
Igor Chevdar
519c15419f
[K/N] Fixed a problem with dependencies
...
-Xinclude-library should be treated exactly as source files -
the final binary should depend on all of them.
#KT-64408 Fixed
2023-12-28 12:13:24 +00:00
Igor Chevdar
c35e026259
[K/N][tests] Moved several tests to proper location
2023-12-28 12:13:24 +00:00
Artem Kobzar
3c04e6af03
[K/Wasm] Remove tmp files for the binaryen runner
2023-12-28 10:01:17 +00:00
Yahor Berdnikau
969e1957d2
[Gradle] Fix warnings in AndroidSubplugin.kt
...
^KT-56904 In Progress
2023-12-28 09:16:07 +00:00
Dmitrii Krasnov
5dcc853df3
[Gradle] Fixed warnings in KotlinNativeTasks.kt
...
^KT-56904
2023-12-28 09:07:22 +00:00
Dmitrii Gridin
d88249bda7
[Analysis API decompiler] materialize delegate declarations in stubs
...
We should materialize delegated declarations to process callables
in scopes correctly. Standalone mode works the same way as it
deserialize directly into FIR.
Another solution is to rework proto and stub serializer/deserializer to
restore FirFields like `$$delegate_0` correctly to work with
`FirDelegatedMemberScope`
^KT-62896 Fixed
^KT-64584 Fixed
2023-12-28 08:48:08 +00:00
Dmitrii Gridin
06950f57db
[Analysis API] add tests for delegate field
...
^KT-64584
2023-12-28 08:48:08 +00:00
Dmitrii Gridin
3f337bf62d
[Analysis API] add diagnostic test for delegate from library
...
^KT-62896
2023-12-28 08:48:08 +00:00
Evgenii Mazhukin
ee3119e9d2
[KGP] Introduce Incremental Compilation Feature Toggles
...
Makes it easier to introduce a Gradle property for configuring
IncrementalCompilerRunner.
^KT-64513 Fixed
^KT-63837 In Progress
Merge-request: KT-MR-13671
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-12-27 13:43:54 +00:00
Evgenii Mazhukin
97f8f7a734
[KGP] Fix warnings related to inheritance of @Deprecated annotation
...
Merge-request: KT-MR-13675
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-12-27 13:23:23 +00:00
Yahor Berdnikau
bffdece8da
[Gradle] Fix warnings in AndroidVariantType.kt file
...
^KT-56904 In Progress
2023-12-27 12:37:28 +00:00
Dmitrii Gridin
441072c6fe
[LL FIR] StubBasedFirDeserializedSymbolProvider: fix loading of nested classes
...
We cannot load nested class without an outer as in this case we will
miss a symbol of the outer class, which is crucial in some cases
(e.g., during status calculation).
So we have to load the topmost class as it will load all nested classes
with the correct context as well
^KT-62891 Fixed
2023-12-26 16:53:36 +00:00
vladislav.grechko
34bac48541
Add JVM ABI K1/K2 consistency tests
2023-12-26 10:18:19 +00:00
cristiangarcia
5a1fb78fcd
Declare generated SourceSets correctly
...
Allow Gradle to keep the track of the task generating the sources
KTI-1502 Fixed
2023-12-24 00:01:59 +00:00
Ivan Kochurkin
88f7b085e6
[FIR] Try to infer result type of incomplete when expression
...
^KT-62069 Fixed
2023-12-22 16:57:07 +00:00
Dmitrii Gridin
e2f245096c
[FIR] ReturnTypeCalculator: replace !! with useful exception
...
^KT-64196
2023-12-21 23:10:58 +01:00
Dmitrii Gridin
1ec994cd0d
[Analysis API] add diagnostic test for FP expose diagnostic from library
...
^KT-64468
^KT-62891
2023-12-21 19:48:22 +00:00
Dmitrii Gridin
282cd82539
[Analysis API] AnalysisApiFirSourceTestConfigurator: supports mixed multi-module tests
...
^KT-64468
2023-12-21 19:48:22 +00:00
Dmitrii Gridin
c0b333dfc1
[Analysis API] AbstractAnalysisApiBasedTest: exit from ignored tests before any analysis
...
It is possible that `prepareToTheAnalysis` will throw an exception for
ignored test
^KT-64468
2023-12-21 19:48:22 +00:00
Dmitrii Gridin
bd9e69d196
[LL FIR] SealedClassesInheritorsCaclulatorPreAnalysisHandler: do not calculate inheritors for binary files
...
It fails with ast loading
^KT-64468
2023-12-21 19:48:22 +00:00
Dmitrii Gridin
00db7fdaeb
[Analysis API] mark MODULE_KIND directive as module-level
...
^KT-64468
2023-12-21 19:48:22 +00:00
Dmitrii Gridin
d1cb9ab060
[Analysis API] TestModuleKind: introduce moduleKind util
...
^KT-64468
2023-12-21 19:48:22 +00:00
Marco Pennekamp
43a3f7db5f
[AA] Use MODULE_KIND in standalone API multi-module binary tests
...
- `MODULE_KIND` is a more general and straight-forward approach than an
"app" magic module name.
^KT-64468
2023-12-21 19:48:22 +00:00
Marco Pennekamp
d3d21b3f34
[AA] Support multi-module tests with mixed KtModule kinds
...
- This commit adds a `MODULE_KIND` directive to Analysis API tests which
can be used to change a test module's `KtModule` kind from the default
determined by the test's registered `KtModuleFactory` (which in turn
depends on the `moduleKind` configured during test generation).
- The most important use case is the ability to have multi-module tests
where a main module references symbols from a binary library module.
This use case requires source configurations to compile libraries,
which requires additional setup. This will be implemented in a
following commit.
^KT-64468 Fixed
2023-12-21 19:48:22 +00:00
Dmitrii Gridin
69a2bc9abc
[Analysis API] add regression test on error diagnostics for functional interfaces
...
^KT-63432 Obsolete
2023-12-21 19:36:44 +00:00
Dmitrii Gridin
48c36ce475
[FIR] FirJavaFacade: calculate default value for annotations lazily
...
To avoid contract violation
^KT-62776 Fixed
2023-12-21 18:43:19 +00:00
Dmitrii Krasnov
b90ff94451
[Gradle] Suppressed GradleExecutionContext.fromProject
...
^KT-56904
2023-12-21 18:43:01 +00:00
Tatiana Bogdanova
afcef3e20e
Add changelog for 1.9.22
2023-12-21 17:48:12 +00:00
Anastasia.Nekrasova
867be40c8e
K1/K2: add tests for KT-55811
2023-12-21 16:37:10 +00:00
Aleksei.Cherepanov
5150812838
[IC] Add test for potential sam change in kotlin-java interop
...
JPS tests were fixed on IJ side during implementation of JPS on graph
Relates to KT-21534
2023-12-21 16:09:14 +00:00
Kirill Rakhman
49ae1b8d01
[FIR2IR] Consolidate type approximation
...
This commit gets rid of the redundant typeApproximatorConfiguration
in Fir2IrTypeConverter and uses the type approximator for captured
types instead of the manual approximation used before.
This fixes the nullability of approximated captured types, which fixes
a runtime error in WASM.
This also brings K2 IR closer to K1 IR in one test.
#KT-64261 Fixed
2023-12-21 15:56:49 +00:00
Jinseong Jeon
52a1ffb312
AA: better way to filter out non-JVM modules
2023-12-21 15:34:34 +00:00
Jinseong Jeon
ea17bbeddc
AA: avoid using compiler impl detail as API return type
2023-12-21 15:34:34 +00:00
Jinseong Jeon
f5d2ce3022
AA: render containing file and JvmClassName
2023-12-21 15:34:34 +00:00
Jinseong Jeon
797174ee1f
AA: introduce new APIs to get containing file (symbol) and JvmClassName
...
^KTIJ-27686
2023-12-21 15:34:34 +00:00
Yahor Berdnikau
5b6363b0df
[Gradle] Fix warnings in KotlinAndroidTarget
...
^KT-56904 In Progress
2023-12-21 15:26:02 +00:00
Alexander Shabalin
0692346715
[K/N][tests] Fix new line handling in termination tests ^KT-61259
2023-12-21 14:55:21 +00:00
Dmitrii Krasnov
672fea9be4
[Gradle] Changed buildDir to buildDirectory in KotlinNativeLink
...
^KT-62527
2023-12-21 14:31:14 +00:00
Aleksei.Cherepanov
f7d93029ff
[JPS] Stop depending on a specific implementation of the compiler in some JPS tests
...
Change base class of AbstractIncrementalCacheVersionChangedTest to abstract one, not related to any specific implementation of compiler because these tests check JPS logic and should not be affected by compiler implementation
^KT-64445 Fixed
2023-12-21 14:21:35 +00:00
Artem Kobzar
053bc08626
[K/Wasm] Add Binaryen sizes to Wasm size tests
2023-12-21 14:19:09 +00:00
Anastasia.Nekrasova
19fe605a3e
K1/K2: add tests for KT-58767
2023-12-21 13:39:41 +00:00
Anastasia.Nekrasova
6268cfedab
K1/K2: add tests for KT-58766
2023-12-21 13:36:54 +00:00