Commit Graph

107542 Commits

Author SHA1 Message Date
Andrey Yastrebov c6bf5b8ef1 KT-63592 Add testGenerateLLDBInitFile test 2024-01-03 10:29:18 +00:00
Andrey Yastrebov 4176c50107 KT-63592 Create setupLLDBScript task 2024-01-03 10:29:18 +00:00
Dmitriy Novozhilov 56221467ff [FIR] Rename PLUGIN_ANNOTATION_AMBIGUITY to COMPILER_REQUIRED_ANNOTATION_AMBIGUITY
This diagnostic may be reported even without any compiler plugins (e.g.
  for annotation named `Target` or `Deprecated`), so the old name
  and message were quite confusing

^KT-64654
2024-01-03 08:50:20 +00:00
Vladimir Sukharev 5728b34733 [K/N][Tests] Ignore test klibName on LInux with caches
^KT-61259
2024-01-02 18:47:05 +00:00
Alexander Shabalin d6a922bc74 [K/N][tests] Migrate link tests to new testing infra ^KT-61259 2024-01-02 18:47:05 +00:00
Sonya Valchuk 588549d1d0 JVM_IR: add offsets to JvmStatic and JvmOverloads proxies
KAPT3 needs them to correct error types in arguments.

 #KT-64639 Fixed
2024-01-02 17:43:09 +00:00
Alexander Korepanov d5aaa29a7f [JS FIR] Implement FirJsReflectionAPICallChecker diagnostic
^KT-60899 Fixed
2024-01-02 16:45:12 +00:00
Marco Pennekamp af7eb8b7af [AA] Add reference resolve tests for Java enums with getName function
^KT-62524
2024-01-02 16:41:34 +00:00
Marco Pennekamp c611f1923f [AA] Refactoring: Move Java reference resolve tests to java subfolder 2024-01-02 16:41:34 +00:00
Kirill Rakhman 5d3738c804 [FIR] Improve annotation use-site target rendring for diagnostics
#KT-62816 Fixed
2024-01-02 15:17:02 +00:00
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