Kirill Rakhman
8f3f72d9c9
[FIR] Use correct type renderer in symbol rendering for diagnostics
...
#KT-62815 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
6b049df87c
[FIR] Render deprecation message if it's not a named argument.
2024-01-02 15:17:02 +00:00
Kirill Rakhman
8aa32d9f45
[FIR] Rename DUPLICATE_LABEL_IN_WHEN to DUPLICATE_BRANCH_CONDITION_IN_WHEN
...
... and fix the message
#KT-35289 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
28eb78fe16
[FIR] Add description to ERROR_IN_CONTRACT_DESCRIPTION
...
#KT-49084 Fixed
2024-01-02 15:17:02 +00:00
Kirill Rakhman
0c4603f3e5
[FIR] Improve DSL_SCOPE_VIOLATION message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
f4740e9e05
[FIR] Improve ASSIGNMENT_OPERATOR_SHOULD_RETURN_UNIT message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
80d47d6483
[FIR] Improve LOCAL_INTERFACE_NOT_ALLOWED message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
c8b965c102
[FIR] Improve SMARTCAST_IMPOSSIBLE message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
8ac7a6bb90
[FIR] Improve REDUNDANT_MODIFIER message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
dd0e919860
[FIR] Fix rendering of SUBCLASS_OPT_IN_INAPPLICABLE
2024-01-02 15:17:02 +00:00
Kirill Rakhman
14bdcbfecd
[FIR] Improve NO_ELSE_IN_WHEN message
2024-01-02 15:17:02 +00:00
Kirill Rakhman
d5ed922208
[FIR] Make rendering of cone type attributes in diagnostic messages opt-in per attribute
...
#KT-63228 Fixed
2024-01-02 15:17:01 +00:00
Kirill Rakhman
2b53e4ecbd
[FIR] Replace backticks with single quotes in diagnostic messages
2024-01-02 15:17:01 +00:00
Kirill Rakhman
945e80f35e
[FIR] Fix quotes in diagnostic messages
...
#KT-62386
2024-01-02 15:17:01 +00:00
Dmitriy Novozhilov
8db722658d
[Build] Include :libraries:tools:kotlinp back to compilation with JPS build
2024-01-02 15:07:44 +00:00
Dmitriy Novozhilov
d3c03325c9
[Build] Properly setup the version of Apache commons-text dependency
...
Versions of external libraries should be listed in version catalog, not
directly in a build file
2024-01-02 15:07:44 +00:00
Dmitriy Novozhilov
3cf9a6f687
[Build] Fix JPS import of :libraries:tools:abi-comparator
2024-01-02 15:07:44 +00:00
Andrey Yastrebov
175dd40d45
KT-57650 Add outdated repo test
2024-01-02 13:54:00 +00:00
Andrey Yastrebov
4cdb9301ed
KT-57650 run pod install --repo-update if repo is out of date
2024-01-02 13:54:00 +00:00
Artem Kobzar
da4c6dd443
[K/JS, K/N, K/Wasm] Fix more general case of the ^KT-61929 issue
2024-01-02 12:18:34 +00:00
Alexander Korepanov
4609b11102
[JS FIR] Add JsName clash test
...
^KT-64364
2024-01-02 10:15:02 +00:00
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