Ilya Kirillov
a97518a903
[kapt] fix KAPT tests failing with ClassNotFoundException: com.intellij.openapi.roots.ContentIterator
...
The failing tests are in `org.jetbrains.kotlin.kapt.cli.tes.Kapt4ToolIntegrationTestGenerated`
2024-01-23 09:09:37 +00:00
Jinseong Jeon
0dfaa91970
K2 UAST: simplify PSI declaration provider
...
In addition to class lookup (done at cec299ac ), we can use
JavaFileManager to search classes in a certain package too.
2024-01-23 09:09:37 +00:00
Dmitrii Krasnov
6aab336979
[Gradle] Added fix for :kotlin-gradle-plugin:compileFunctionalTestKotlin
...
^KT-58303
2024-01-23 08:59:16 +00:00
Nikolay Lunyak
c55a7dd038
[FIR] Add SAFE_CALLABLE_REFERENCE_CALL
...
^KT-59835
2024-01-23 08:46:29 +00:00
Nikolay Lunyak
4fed4b6640
[FIR] Add more tests for RESERVED_SYNTAX_IN_CALLABLE_REFERENCE_LHS
...
It's a bit hard to reason about how different
diagnostics correspond to one another from
the existing tests.
^KT-59835
2024-01-23 08:46:29 +00:00
Nikolay Lunyak
c8fb0d4574
[FIR] Drop an obsolete TODO
...
In K2 we have `EXPLICIT_TYPE_ARGUMENTS_IN_PROPERTY_ACCESS`
and `EXPRESSION_OF_NULLABLE_TYPE_IN_CLASS_LITERAL_LHS`
which seem to cover the same use cases as
`RESERVED_SYNTAX_IN_CALLABLE_REFERENCE_LHS` used to
(at least it seems so, based on the source code of
`resolveReservedExpressionSyntaxOnDoubleColonLHS()`).
^KT-59835 Obsolete
2024-01-23 08:46:28 +00:00
Yahor Berdnikau
207750f6ae
[Gradle] Fix warnings in SingleTargetSourceDirConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:08 +00:00
Yahor Berdnikau
0a95407209
[Gradle] Fix warnings in MultiplatformLayoutV2SourceDirConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
7e7156b49a
[Gradle] Fix warnings in MultiplatformLayoutV2DependsOnConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
3036b408ff
[Gradle] Fix warnings in MultiplatformLayoutV2DefaultManifestLocationConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
cfc48c6e94
[Gradle] Fix warnings in MultiplatformLayoutV1SourceDirConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
8ee9753045
[Gradle] Fix warnings in MultiplatformLayoutV1DependsOnConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
17b0ffb208
[Gradle] Fix warnings in MultiplatformAndroidResourceDirConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
0e78e98ca0
[Gradle] Fix warnings in KotlinAndroidSourceSetInfoConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
cbfc2eb9c0
[Gradle] Fix warnings in KotlinAndroidSourceSetConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
be848cc432
[Gradle] Fix warnings in GradleConventionAddKotlinSourcesToAndroidSourceSetConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
8b0c975590
[Gradle] Fix warnings in AndroidKaptSourceSetConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Yahor Berdnikau
1c7f2b3066
[Gradle] Fix warnings in Agp7AddKotlinSourcesToAndroidSourceSetConfigurator
...
^KT-56904 In Progress
2024-01-22 20:50:07 +00:00
Dmitrii Krasnov
7165d15d59
[Gradle Native] Added Kotlin Native Provider to all native tasks
...
This provider is a first step of "Kotlin Native Toolchain".
This solves several problems:
1) Resolving K/N bundle during configuration phase ->
now it happens during execution phase
2) Downloading K/N bundle with internal mechanisms ->
now it uses Gradle dependency resolvers and Transform Artifact
^KT-58303
^KT-52567
^KT-49268
2024-01-22 20:26:24 +00:00
Alexander Shabalin
48f5e1d05c
[K/N] Deprecate -Xworker-exception-handling ^KT-65170
...
Also deprecate legacy option with error (was a warning since 1.9.20-Beta)
2024-01-22 19:22:44 +00:00
Vladimir Tagakov
06095e86ca
jvm-abi-gen: remove SourceDebugExtension if no inline functions present
...
#KT-65072 Fixed
2024-01-22 19:00:10 +00:00
Pavel Kirpichenkov
8fbe376f25
[IDE, JS] Fix tests for asDynamic
...
Register JS configurator in tests for library sources
Ignore FE10 because of KTIJ-28546
KTIJ-27571
2024-01-22 18:28:24 +00:00
Pavel Kirpichenkov
ed8d3092cd
[IDE, JS] Add regression test for KTIJ-27571
...
Reference resolve for kotlin.js.asDynamic
2024-01-22 18:28:24 +00:00
Dmitry Savvinov
77ebe1085d
[klib tool] Return unbound symbols for dump-ir mode
...
This is more convenient behaviour for debugging with klib-tool than
just failing.
Note that enabling Partial Linkage globally in klib-tool is undesirable,
as it can auto-tweak IR (e.g. when overrides do not match), thus
distorting the rendered IR
^KT-61143 Fixed
2024-01-22 17:11:56 +00:00
Yahor Berdnikau
fcfc2446cf
[Gradle] Use specialized 'dependencyScope' configuration container
...
Gradle 8.4 has introduced a new set of APIs:
https://docs.gradle.org/8.4/release-notes.html#easier-to-create-role-focused-configurations
We this change we started to create a 'DependencyScopeConfiguration'
for configurations used to declare dependencies.
^KT-65143 In Progress
2024-01-22 16:43:46 +00:00
Anton Lakotka
be1819da58
[Gradle] Add log level control for K/Native compiler arguments
...
Just like it was done for other Compile tasks.
^KT-64848 Verification Pending
2024-01-22 15:24:45 +00:00
eugene.levenetc
480b8ec516
[ObjCExport] Add object translation and error handling
...
- Also add forward declaration tests
- Add hidden types support
- Issues: KT-64857, KT-64952, KT-65080
2024-01-22 14:59:56 +00:00
Andrey Yastrebov
c483e54e2d
KT-63212 Handle outdated Xcodeproj error message
2024-01-22 13:59:26 +00:00
Pavel Kunyavskiy
01c16ed736
Add documentation on planned inline changes.
...
^KT-64570
2024-01-22 13:39:49 +00:00
Pavel Kunyavskiy
09713bb89e
[Fir2IR] Don't add invisible fake overrides to Lazy class
...
^KT-65056
2024-01-22 13:30:05 +00:00
Vladimir Sukharev
54b06f5656
[K/N][Tests] Clean up remnants of kt49034 in old infra
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
e958e57c42
[K/N][Tests] Migrate test forwardDeclarationsCast.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
2f3705f0eb
[K/N][Tests] Move funptr.kt to standalone tests due to OUTPUT_DATA_FILE directive
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
c286b0efd7
[K/N][Tests] Migrate tests forwardDeclarationsTwoLibs.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
bd688b3ef7
[K/N][Tests] Migrate tests kt49034*.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Yahor Berdnikau
ae09c0fb60
[Gradle] Run tests against Gradle 8.3
...
^KT-59024 Verification Pending
2024-01-22 12:23:57 +00:00
Yahor Berdnikau
53fa25cafd
[Gradle] Add AGP 8.4 test version
...
And update AGP 8.3 version.
^KT-59024 In Progress
2024-01-22 12:23:57 +00:00
Artem Kobzar
57a4d09ad2
[K/Wasm] Add tests for nested external declarations + fix them
2024-01-22 11:55:09 +00:00
Alexander Shabalin
f15ca6a20f
[K/N] More debugging output in HostExecutor ^KT-65113
2024-01-22 11:41:24 +00:00
Ivan Kylchik
2c38685486
[IR] Report backend error if annotation's arg can't be evaluated
...
Just a safety measure to ensure that we will not produce the wrong code.
2024-01-22 11:03:16 +00:00
Vladimir Sukharev
5d60c52e30
[K/N] Remove platform-dependent check from IrObjCOverridabilityCondition
...
^KT-57640 Fixed
2024-01-22 09:50:15 +00:00
Igor Chevdar
006410641b
[IR][K/JS] Removed unused function
2024-01-22 09:34:42 +00:00
Igor Chevdar
978bf3d38d
[IR] Refactored a bit InlineFunctionResolver
2024-01-22 09:34:42 +00:00
Igor Chevdar
f3a807c507
[IR] Fixed a problem in FunctionInlining
...
#KT-64868 Fixed
2024-01-22 09:34:42 +00:00
Mark Mann
bef0946ab7
[K/N] Reduce file reads in cache libraries
...
#KT-64249 Fixed
2024-01-20 08:25:50 +00:00
Vladimir Sukharev
d2b810c373
[K/N][Tests] Polish sharing_with_weak.kt
...
^KT-61259
2024-01-19 18:37:43 +01:00
Vladimir Sukharev
39e2187d31
[K/N][Tests] Split filecheck part from test direct.kt
...
^KT-61259
2024-01-19 18:31:25 +01:00
Vladimir Sukharev
833e125450
[K/N][Tests] Polish test sharing_with_weak.kt
...
^KT-61259
2024-01-19 18:22:22 +01:00
Vladimir Sukharev
4aa8774c6e
[K/N][Tests] Migrate test direct.kt
...
^KT-61259
2024-01-19 18:22:22 +01:00
Vladimir Sukharev
e59a80bd69
[K/N][Tests] Migrate test overridabilityCondition.kt
...
^KT-61259
2024-01-19 18:22:21 +01:00