konstantin.tskhovrebov
02e192c08a
[KT-53340] Cocoapods: use framework name and linking type providers.
...
Providers don't require synchronization between real framework attribute
and local value.
2022-08-04 10:08:33 +00:00
Pavel Kirpichenkov
2a43247a8f
[MPP] Remove explicit compilation config names from tests
...
KT-49877
2022-08-04 09:02:49 +00:00
Pavel Kirpichenkov
23151a5295
[MPP] Add android target to the name clash test
...
KT-49877
2022-08-04 09:02:48 +00:00
Pavel Kirpichenkov
5536cf1df1
[MPP] Update Android associate compilation dependencies handling
...
Don't add associate dependencies to test runtime classpath as it's managed by AGP
and might lead to duplicate dependencies and runtime problems.
KT-49877
2022-08-04 09:02:48 +00:00
Pavel Kirpichenkov
857d8aa8ae
[MPP] Fix Android test-on-main dependencies
...
Add dependencies from associated compilations conventionally
for Android, as it's done for all other multiplatform targets.
It used to work unintentionally before because of the configuration
name clash between test compilation and its default source set.
KT-35916
KT-49877
2022-08-04 09:02:47 +00:00
Pavel Kirpichenkov
69bb85f71f
[MPP] Disambiguate compilation and source set configurations
...
Add 'compilation' postfix to configuration names of compilations.
This is necessary to distinguish them from source set ones.
Without the change, default source sets of test compilations
and the test compilations themselves have the same name.
For instance, jvmTestImplementation was interpreted as
a configuration for a source set jvmTest and a compilation
with the same name. This leads to incorrect configuration
hierarchies and unexpected dependencies in them.
KT-35916
KT-49877
2022-08-04 09:02:44 +00:00
Ilya Gorbunov
f91ea4b4d9
Add more tests for 'contains' in ranges #KT-52933
...
- ranges produced by 'rangeUntil' operator
- ranges of unsigned values
- more elements in ranges produced by `downTo`
2022-08-03 22:18:14 +00:00
Ilya Gorbunov
a044555299
Do not run rangeUntil operator tests in old JVM BE #KT-52933
2022-08-03 22:18:12 +00:00
Sergej Jaskiewicz
5e34ae5e0d
[IR] Print annotations in source range compiler tests
2022-08-03 16:45:56 +00:00
Sergej Jaskiewicz
9dc7fe24f6
[psi2ir] Emit source info for annotation parameters
...
We need this in the JS IR backend for annotations like
@JsFun and @JsPolyfill
2022-08-03 16:45:55 +00:00
Ilya Gorbunov
5fc6097eb6
Mark backing fields of rarely used charsets volatile #KT-53134
2022-08-03 15:51:18 +00:00
konstantin.tskhovrebov
20ed72152b
[KT-53131] XCFramework: add missing watchosX86 target.
2022-08-03 17:48:44 +02:00
Aleksei.Cherepanov
92551b7685
Prevent overwriting output dir to empty string
...
#KTIJ-921 Fixed
Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com >
Merge-request: KT-MR-6183
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2022-08-03 14:46:32 +00:00
Artem Kobzar
b9a80284c8
[K/JS] fix(TS): save type hierarchy for exported classes.
2022-08-03 14:16:30 +00:00
Svyatoslav Scherbina
ce6c8a51ba
Native: fix @ExportObjCClass with the new memory manager
...
Previous implementation of `@ExportObjCClass` relied on the fact that
initialization of top-level fields was eager, i.e. happened during
Kotlin runtime initialization, when Kotlin code is accesses for the
first time.
With the new MM, initialization of top-level fields became lazy, it
happens when the particular file is accessed for the first time.
This commit fixes `@ExportObjCClass` with the new MM by making the
initialization of particular top-level fields eager.
^KT-53373 Fixed
2022-08-03 12:40:02 +00:00
Dmitriy Novozhilov
70da19bd22
[Lombok K2] Fix name convention for @With on boolean fields
...
^KT-53451 Fixed
^KT-53370
2022-08-03 13:46:24 +03:00
Dmitriy Novozhilov
11f8e776af
[Lombok K2] Fix generating @With methods for final fields
...
^KT-53370
2022-08-03 13:46:24 +03:00
Dmitriy Novozhilov
637d7678b8
[Lombok K1] Fix name convention for @With on boolean fields
...
^KT-53370 Fixed
2022-08-03 13:46:24 +03:00
Mikhail Glukhikh
166965e559
K2: fix internal visibility checks for overrides #KT-53197 Fixed
2022-08-03 07:52:14 +00:00
Sergey Bogolepov
40e3e9f6c7
[K/N] Disable compiler caches in case of -Xruntime-logs= flag
...
Otherwise compiler just ignores the flag.
2022-08-03 07:16:40 +00:00
Jinseong Jeon
009182af63
FIR LC: use the data path from the test base
2022-08-03 08:57:37 +02:00
Jinseong Jeon
fc2f4d814e
FIR LC: test exact annotation owner kind
2022-08-03 08:57:37 +02:00
Jinseong Jeon
91946651d2
FIR LC: fix potentially ignored visit in light parameter
2022-08-03 08:57:37 +02:00
Jinseong Jeon
199219483e
FIR LC: set modifier list as a parent of light annotations
...
^KTIJ-22354 Fixed
2022-08-03 08:57:37 +02:00
Jinseong Jeon
79030c9252
FIR LC: remove redundant util in tests
2022-08-03 08:57:36 +02:00
Steven Schäfer
03aee58585
JVM IR: Avoid IrComposite in ReturnableBlockLowering (KT-53202)
2022-08-03 00:19:31 +02:00
konstantin.tskhovrebov
c974ff8965
[KT-53392] Cocoapods: fix gradle task inputs.
2022-08-02 18:51:34 +02:00
Jinseong Jeon
6b0a5e2908
AA: register LLFir(Library|Builtin)SessionFactory
2022-08-02 17:33:45 +02:00
konstantin.tskhovrebov
c5c8f5ef49
Fix XCFramework integration test.
2022-08-02 14:40:50 +02:00
konstantin.tskhovrebov
81ad6140e1
[KT-53392] Cocoapods: remove downloading pods from url.
2022-08-02 11:24:00 +00:00
konstantin.tskhovrebov
fdac190511
[KT-53392] Cocoapods: add deprecation for the direct pod urls.
2022-08-02 11:23:59 +00:00
Mikhail Glukhikh
3cb4b8ddda
Fix KotlinTypeCheckerTest in accordance with NI intersections
2022-08-02 10:29:41 +00:00
Victor Petukhov
0198eeeafe
[Compiler tests] Remove -Dkotlin.ni flag from tests
2022-08-02 10:29:41 +00:00
Victor Petukhov
9beb279964
[FE CLI] Remove -Xnew-inference in the compiler cli module settings
2022-08-02 10:29:40 +00:00
Victor Petukhov
34a05105ef
[FE 1.0] Get rid of NewResolutionOldInference
2022-08-02 10:29:39 +00:00
Victor Petukhov
d89fa8dea9
[FE 1.0] Get rid of OldResolutionCandidate and its usages
2022-08-02 10:29:39 +00:00
Victor Petukhov
9be181f1ad
[FE 1.0] Remove constraint system tests
...
These tests used the old type inference constraint system, so it didn't cover the current compiler logic almost at all
It'd be fine to implement similar test for the new type inference constraint system
^KT-52699
2022-08-02 10:29:38 +00:00
Victor Petukhov
8500ee08a8
[FE 1.0] Remove CONSTRAINT_SYSTEM_FOR_OVERLOAD_RESOLUTION analysis flag
...
The constraint system for the old type inference is going to be removed.
Also, `CONSTRAINT_SYSTEM_FOR_OVERLOAD_RESOLUTION` isn't used in the production
2022-08-02 10:29:38 +00:00
Victor Petukhov
8227c4b603
[FE 1.0] Use the new type intersection emptiness check
...
Also introduced compatibility mode to preserve compatibility for is/as/equality checks
^KT-29316 Related
2022-08-02 10:29:37 +00:00
Victor Petukhov
bc1c2adae1
[FE 1.0] Use the new type intersection to intersect types
2022-08-02 10:29:36 +00:00
Victor Petukhov
941a33a184
[FE 1.0] Get rid of GenericCandidateResolver
2022-08-02 10:29:35 +00:00
Victor Petukhov
4ea08a59db
[FE 1.0] Get rid of CandidateResolver
2022-08-02 10:29:35 +00:00
Victor Petukhov
afaf20aea3
[FE 1.0] Get rid of deprecated interceptCandidates in CallResolutionInterceptorExtension
2022-08-02 10:29:34 +00:00
Victor Petukhov
2c7a442cbd
[FE 1.0] Get rid of the old inference call completer
2022-08-02 10:29:34 +00:00
Victor Petukhov
1c91e3a606
[FE 1.0] Get rid of the old builder inference support
2022-08-02 10:29:33 +00:00
Victor Petukhov
bd665dc5d9
[FE 1.0] Get rid of old inference stuff from CallResolver
2022-08-02 10:29:32 +00:00
konstantin.tskhovrebov
8c2a2b8569
[KT-53337] Cocoapods: warn if cocoapods plugin uses default framework linking type.
2022-08-02 09:54:48 +00:00
konstantin.tskhovrebov
8a7b399dbe
[KT-53339] KMM: skip embedding for static frameworks.
2022-08-02 09:47:02 +00:00
Svyatoslav Scherbina
ad1b10cdb0
Native: switch to "Native" thread state for some Obj-C runtime calls
...
A lot of calls to Objective-C runtime are potentially blocking. This
commit adds a number of thread state switches to ensure these Obj-C
runtime calls happen in "Native" thread state.
Also, remove a bunch of such functions from CallsChecker exclude list.
2022-08-02 09:24:02 +00:00
Svyatoslav Scherbina
2e8c25aeff
Native: rewrite Kotlin_Interop_getObjCClass in Objective-C
...
This allows calling it in "Native" thread state.
2022-08-02 09:24:01 +00:00