Yahor Berdnikau
55bbaec3f9
[Gradle] Migrate KlibBasedMppIT to new test DSL
...
^KT-65528 In Progress
2024-02-08 14:04:52 +00:00
Yahor Berdnikau
74c02a77fe
[Gradle] Fix compiler arguments plugin does not configure defaults in extension
...
Shared source sets do not have related compilation tasks, so configuring
them via an extension is the only possible way. Otherwise, a KGP
checker will complain on incompatible configuration.
Also, should fix rare cases for kapt when the related KotlinJvmCompile
task is not created, so it does not propagate configured values to kapt
tasks.
^KT-65528 In Progress
2024-02-08 14:04:52 +00:00
Yahor Berdnikau
5686f55b5a
[Gradle] Fix warnings in Kotlin2JsCompileConfig
...
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Yahor Berdnikau
50ac596bf2
[Gradle] Fix warnings in DefaultKotlinJavaToolchain
...
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Yahor Berdnikau
7913e12748
[Gradle] Fix warnings in AbstractKotlinCompileTool
...
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Yahor Berdnikau
42a0190986
[Gradle] Fix warnings in KotlinNativeLink
...
^KT-56904 In Progress
2024-02-08 13:24:30 +00:00
Evgeniy.Zhelenskiy
7eab4b672d
[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI
...
#KT-64989
2024-02-08 12:59:31 +00:00
Sebastian Sellmair
5b11308d1b
[ObjCExport] Translate superClass and superClass generics for class and objects
...
^KT-65384 Verification Pending
2024-02-08 12:43:48 +00:00
Sebastian Sellmair
c22149c642
[ObjCExport] Properly detect Array constructors
...
^KT-65225 Fixed
2024-02-08 12:41:37 +00:00
Egor Kulikov
926c0a9136
[FIR] Fix naming for light tree delegate and expression conversion
2024-02-08 11:54:00 +00:00
Alexander Shabalin
77b9c40434
[K/N] Fix CrossDistBitcodeCopy task outputs
2024-02-08 11:50:21 +00:00
Alexander Shabalin
3379b3e930
[K/N] Fix stdlib cache task dependency.
2024-02-08 11:50:21 +00:00
Mikhail Glukhikh
f3523edb61
Minor cleanup of approximateCapturedType comments/code
2024-02-08 10:49:55 +00:00
Mikhail Glukhikh
44dcae2090
Rename: type -> capturedType
2024-02-08 10:49:55 +00:00
Mikhail Glukhikh
94bcf6d87f
K2: handle recursive types properly in approximation
...
This commit is intended to deal with inconsistency in K1/K2
star projection handling.
K1 star projection includes a 'type' property.
This type from a star projection can be used for relevant
functions / properties return types,
and already includes some approximation for recursive generics.
In contrast, K2 star projection is an object,
and return types of relevant functions / properties are
represented as captured types.
To prevent recursion in them in recursive generic case,
this commit includes additional replacement of their type arguments.
See more details in added comments.
#KT-65057 Fixed
2024-02-08 10:49:55 +00:00
Mikhail Glukhikh
c4d6554493
K2: reproduce KT-65057
2024-02-08 10:49:55 +00:00
Pavel Kunyavskiy
0a07f16896
[Commonizer] Better handling of ObjcMethod and related annotations
...
They are important for overridability rules, so can't be just ignored.
Some arguments are still different on different platforms, so
commonized version is a bit strange.
But the only important part is selector, which should be same on
all platforms.
^KT-57588
2024-02-08 09:46:35 +00:00
Artem Olkov
ffed0ecf1f
add check for SwiftExport golden-data by running swift compiler #KT-65559 fixed
...
Merge-request: KT-MR-14210
Merged-by: Artem Olkov <artem.olkov@jetbrains.com >
2024-02-08 09:40:52 +00:00
Abduqodiri Qurbonzoda
5b703c57ec
Fix a test failure caused by KT-52181
2024-02-08 07:46:09 +00:00
Abduqodiri Qurbonzoda
600e306d80
Fix JS Map.keys.remove return value #KT-65525
2024-02-08 07:46:09 +00:00
Abduqodiri Qurbonzoda
20b9ac9d55
Fix memory leak in MapBuilder #KT-65518
2024-02-08 07:46:09 +00:00
Brian Norman
c8e77aad91
[FIR] Fix CFG/DFA for delegate properties within PCLA
...
^KT-65262 Fixed
2024-02-07 22:34:12 +00:00
Brian Norman
1f904aef55
[FIR] Enhance equality smartcasting test case to include data classes
...
^KT-58169 Fixed
2024-02-07 22:26:16 +00:00
Alexander Shabalin
dd9f702516
[K/N][tests] Make InfrastructureDumpedTestListingTest run on other targets
2024-02-07 22:06:25 +00:00
Alexander Shabalin
f0c9033205
[K/N][tests] Extract Settings.executor
2024-02-07 22:06:25 +00:00
Alexander Shabalin
5bd78e1bf2
[K/N][tests] Merge LocalResultHandler and ResultHandler
2024-02-07 22:06:25 +00:00
Alexander Shabalin
8d696dae03
[K/N][tests] Remove now unused LocalTestNameExtractor
2024-02-07 22:06:25 +00:00
Alexander Shabalin
234eb29bab
[K/N][tests] Use runProcess in InfrastructureDumpedTestListingTest
2024-02-07 22:06:25 +00:00
Brian Norman
305c53dd6e
[PowerAssert] Add codegen tests
2024-02-07 21:51:17 +00:00
Brian Norman
9f5589614a
[Test] Allow alternate output for box tests
2024-02-07 21:51:17 +00:00
Brian Norman
aa34282efb
[PowerAssert] Integrate with build
...
^KT-63617 Fixed
2024-02-07 21:51:17 +00:00
Brian Norman
c3a60b127e
[PowerAssert] Reformat files
2024-02-07 21:51:17 +00:00
Brian Norman
2de0c8b23f
[PowerAssert] Update file copyright
2024-02-07 21:51:17 +00:00
Brian Norman
d8167fe82b
[PowerAssert] Update base package
2024-02-07 21:51:17 +00:00
Ivan Kochurkin
6570d3fd55
[FIR] Minor fixes in FirDelegateUsesExtensionPropertyTypeParameterChecker
...
Fix a link in DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER message
2024-02-07 21:15:59 +00:00
Ivan Kochurkin
c4e0cafe9c
[FIR] Check DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER for anonymous objects
...
^KT-64102 Fixed
2024-02-07 21:15:59 +00:00
Mikhail Glukhikh
8ee54a9045
K2: add a test to ensure #KT-63756 Fixed
2024-02-07 20:56:04 +00:00
eugene.levenetc
797284dada
[ObjCExport] Implement initial processing queue (stable order, dependencies, forward declarations)
...
This commit will introduce the first processing queue
which will take care of properly ordering the 'to translate' symbols
as well as taking care of 'dependency' symbols (aka symbols
mentioned in signatures or as supertypes).
- There are several changes like properly translating
types as ObjCProtocolType instead of ObjCClassType (if origin was an interface)
- Type translation of generics defined on interfaces will also emit id type.
- Add initial nested classes collection to the queue
- Add extension function test, add tickets references
^KT-65237 Verification Pending
^KT-65329 Verification Pending
2024-02-07 20:29:08 +00:00
Sebastian Sellmair
32da1b70f5
[ObjCExport] Implement initial sorting and ordering for ObjC translation
...
^KT-65237
2024-02-07 20:29:08 +00:00
Igor Chevdar
27fa3ebfb3
[K/N] Fallback in case turned off liveness analysis
...
#KT-65153 Fixed
2024-02-07 18:54:31 +00:00
Igor Chevdar
6c05219485
[IR][K/N] Extracted explicit var spilling phase from coroutines lowering
...
Not only does it give some flexibility but also it could be turned off
in the future (by providing trivial replacement) as a workaround
#KT-65153
2024-02-07 18:54:31 +00:00
Igor Chevdar
954eade78c
[IR][K/N] Refactored a bit SuspendFunctionLowering
2024-02-07 18:54:31 +00:00
Svyatoslav Scherbina
d39a7e59a7
[K/N] Remove outdated RELEASE_NOTES.md
...
This document is outdated and doesn't make much sense anymore, since
the relevant topics are also covered in the documentation.
2024-02-07 14:09:31 +00:00
Svyatoslav Scherbina
e6785c8dcd
[K/N] Don't include RELEASE_NOTES.md into the bundle
...
This document is outdated and doesn't make much sense anymore, since
the relevant topics are also covered in the documentation.
2024-02-07 14:09:31 +00:00
vladislav.grechko
54858c2118
[FIR] Fix naming of local classes when serializing metadata
...
^KT-63655: Fixed
^KT-63901: Fixed
^KT-63988: Fixed
2024-02-07 12:30:50 +00:00
Mikhail Glukhikh
78876b32e9
K2: unmute testInnerClassPackageConflict2 thus fixing current K2 behavior
...
Related to KT-63070, KT-60792
2024-02-07 11:36:53 +00:00
Bogdan Mukvich
555e374a33
Ignore native bundle artifacts in ArtifactsTest
...
* kotlin-native not enabled by default in project
2024-02-07 09:51:56 +00:00
Vladimir Sukharev
112473f310
[Tests] Add test for KT-65197
...
^KT-65197
2024-02-07 09:03:49 +00:00
cristiangarcia
9f8ea3e2e5
Proguard 7.4.2 - ConfigurationCache compatible
...
Required for KTI-1553
2024-02-06 20:16:22 +00:00
Alexander Udalov
28797a31b4
JVM: refactor JvmDefaultMode, remove/rename some entries
...
- remove ENABLE/COMPATIBILITY because they can no longer be used
- remove forAllMethodsWithBody because its behavior is now equivalent to
isEnabled
- inline isCompatibility
- inline DEFAULT
- rename ALL_INCOMPATIBLE -> ALL
2024-02-06 17:18:44 +00:00