konstantin.tskhovrebov
afa8a577cc
[KT-54060] Disable bitcode embedding to frameworks for Xcode >= 14.
2022-09-30 09:54:33 +00:00
Pavel Kunyavskiy
ea3713f051
Fix building fake overrides for sam and function references
2022-09-30 08:48:59 +00:00
Pavel Kunyavskiy
95eaf3d234
[K/N] Add lowered suspend function mangling to avoid clashes
2022-09-30 08:48:59 +00:00
Pavel Kunyavskiy
2d4c94a115
[K/N] Add test for inter-module suspend function override
2022-09-30 08:48:59 +00:00
Pavel Kunyavskiy
132bb941e1
[K/N] Fix ObjCExport of coroutines for new lowerings
2022-09-30 08:48:58 +00:00
Pavel Kunyavskiy
7e89d59b59
[K/N] Remove isSuspend hacks from codeGenerator and global optimizations
2022-09-30 08:48:58 +00:00
Pavel Kunyavskiy
817dba8564
[K/N] Use suspend function desugaring lowerings.
2022-09-30 08:48:58 +00:00
Pavel Kunyavskiy
8886e1b8b4
Move Js suspend functions lowerings to common code
2022-09-30 08:48:57 +00:00
Ilya Goncharov
7d8636aac4
[JS] Keep interfaces
...
^KT-54173 fixed
2022-09-29 16:12:19 +00:00
Mikhail Glukhikh
41c9ffb060
Native: add three new modules to K2 build
2022-09-29 15:32:01 +00:00
Mikhail Glukhikh
a22d7aea25
Native: don't set allWarningsAsErrors = true in K2 mode
...
Related to KT-54123
2022-09-29 15:32:01 +00:00
Mikhail Glukhikh
e6804d2601
Native: drop duplicated function and object from IrUtils2.kt
...
Related to KT-54123
2022-09-29 15:32:00 +00:00
Vladimir Dolzhenko
34779029f3
Avoid recursive type refinement
...
Recursion happens in kotlinx.serialization project https://github.com/Kotlin/kotlinx.serialization/blob/5e8ccad1f70a9457e0ffe6ae6b10a0bd0eaaa618/formats/json-tests/commonTest/src/kotlinx/serialization/json/JsonCustomSerializersTest.kt#L37
@Serializable
data class C(@Id(1) val a: Int = 31, @Id(2) val b: Int = 42) {
@Serializer(forClass = C::class)
companion object : KSerializer<C> {
override fun serialize(encoder: Encoder, value: C) {
//
}
}
}
#KT-53157
2022-09-29 15:02:55 +00:00
Ilya Goncharov
c726360ad2
Change policy with legacy compiler backend
...
[JS] Remove incremental js jps test
[JS] Remove test of maven js archetype
[JS] Fix another one test
[JS] Fix tests for jps
[JS] Try to fix maven test data
[JS] Fix test data
[JS] Fix test data for ant
[JS] Fix jsExtraHelp test
[JS] Fix test run from not-Gradle build tools
[JS] Set flag without compiler error
[JS] Disable warnings and errors in legacy compiler called from Gradle
[JS] Proofread messages
[JS] Not proofread messages
KT-42326
2022-09-29 13:56:30 +00:00
Alexander Likhachev
a3ad0a6e88
[Gradle, K/N] Fix deprecation message for endorsed libraries
...
#KT-54177
2022-09-29 13:37:11 +02:00
Mikhail Glukhikh
85965d74f6
K2: fix implicit body resolve in case delegated property is on the path
...
#KT-54212 Fixed
2022-09-29 10:55:14 +02:00
Mikhail Glukhikh
75a29434bd
K2: add reproducer of KT-54212
2022-09-29 10:55:04 +02:00
Mikhail Glukhikh
f68f06a93f
FIR visibility checker: remove redundant session from isVisibleForOverriding
2022-09-29 08:34:14 +00:00
Mikhail Glukhikh
de43877161
K2: add more tests about false overrides
...
Related to KT-53197
2022-09-29 08:34:13 +00:00
Mikhail Glukhikh
bcd7a531b9
K2: filter invisible overridden in status resolver & FIR2IR
...
Related to KT-53197
2022-09-29 08:34:13 +00:00
pyos
3a5d75fd22
K2: introduce platform-specific visibility checks for overrides + tests
...
Related to KT-53197
2022-09-29 08:34:13 +00:00
Mikhail Glukhikh
1ad2ec302b
FirOverrideChecker: don't report VIRTUAL_MEMBER_HIDDEN with invisible
...
#KT-53197 Fixed
2022-09-29 08:34:12 +00:00
Mikhail Glukhikh
8281c166b1
K2 checkers: extract retrieveDirectOverriddenOf to FirTypeScope.kt
2022-09-29 08:34:11 +00:00
Mikhail Glukhikh
9f7c465eb0
FE: add test for KT-53197
2022-09-29 08:34:11 +00:00
konstantin.tskhovrebov
5ca9d3d706
[KT-53191] Fix header dirs inputs for CInteropProcess task.
2022-09-29 07:19:45 +00:00
Pavel Mikhailovskii
903a5d69a4
KT-53146 Don't coerce Nothing? returned from "catch" clauses
...
At first, I tried to modify the logic in PromisedValue.materializeAt
to get rid of all casts from Nothing? to other types, but that broke
a number of tests containing casts of java.lang.Void to other types,
so I decided to fix only this particular case with try...catch
(for some reason, here we get a null of type java.lang.Object).
2022-09-29 06:15:39 +00:00
Alexander Udalov
4baa74f396
Add regression tests for obsolete issues
...
#KT-50909
#KT-50974
#KT-51888
2022-09-28 23:18:59 +02:00
Igor Chevdar
e7b5e74f78
[K/N][lower] Fixed bug with phases for metadata klibs
2022-09-28 15:41:56 +00:00
Mikhail Glukhikh
d9934cd01a
Rename in test infra: hasFail() -> hasFailure()
2022-09-28 15:29:44 +00:00
Mikhail Glukhikh
591992dc12
K1: mute failing test with slow assertions
...
Note: in this test, we create a flexible type from two captured types
during substitution, which provokes exception from
FlexibleTypeImpl.runAssertions() (they are run only in test mode)
Related to KT-54198
2022-09-28 15:29:44 +00:00
Mikhail Glukhikh
e9bb0f4fda
Resolution: extract projections from captured flexible type properly
...
#KT-54100 Fixed
Related to KT-54196, KT-54198
2022-09-28 15:29:43 +00:00
Nikolay Krasko
8517249776
Update plexus-component-metadata plugin 1.7.1 -> 2.1.0
...
There's an unstable order of components in plexus/components.xml
KTI-729
2022-09-28 15:26:41 +00:00
Nikita Nazarov
784ceb6baa
Add support for context receivers evaluation
...
KTIJ-21214
2022-09-28 18:59:56 +04:00
Nikita Nazarov
bd742bb95c
Account for context class receivers when creating the ExpressionReceiver
...
^KT-54084 Fixed
2022-09-28 18:59:56 +04:00
Nikolay Lunyak
f578381726
[FIR] KT-46483: Forbid annotations in where Clauses
...
Merge-request: KT-MR-7208
Merged-by: Nikolay Lunyak <lunyak.kolya@mail.ru >
2022-09-28 13:38:18 +00:00
Leonid Startsev
a20ce06102
Support @Serializable(ContextualSerializer) on class
...
It was fixed some time ago (https://github.com/Kotlin/kotlinx.serialization/issues/957 )
but for some reason only for old backend.
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1776
2022-09-28 12:40:20 +00:00
Yahor Berdnikau
1967c49914
Fix wrong jitpack.io repository url in test project
2022-09-28 14:34:54 +02:00
pyos
72e671c8f1
FIR Parcelize: allow anonymous local objects if they're enum entries
2022-09-28 15:14:25 +03:00
Svyatoslav Scherbina
1f1fef1067
Bump Kotlin/Native version to 1.8.20-dev-247
2022-09-28 12:04:51 +00:00
Alexander Likhachev
daf14d0931
[Gradle, K/N] Deprecate endorsed libraries
...
#KT-54177 Fixed
2022-09-28 10:23:12 +00:00
Yahor Berdnikau
5924a80ec8
Use Task.doNotTrackState api
...
This api is faster replacement for 'task.outputs.upToDateWhen { false }'
approach.
^KT-52624 Fixed
2022-09-28 09:07:27 +00:00
Yahor Berdnikau
037f41526f
Run Gradle integration tests against Gradle 7.3.3
...
^KT-52624 In Progress
2022-09-28 09:07:27 +00:00
Sebastian Sellmair
05700e09f4
[Gradle] Fix CInteropCommonizerTask.CInteropCommonizerDependencies.dependencies resolving to early
...
^KT-54202 Verification Pending
2022-09-27 20:21:31 +00:00
Alexander Shabalin
c561b1a861
[K/N] Manually compact mimalloc heap with stms ^KT-53182
...
Merge-request: KT-MR-7222
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-09-27 17:25:18 +00:00
Igor Chevdar
eb1f81b404
[K/N][IR] Moved tests dumping to the lowering
2022-09-27 17:06:49 +00:00
Igor Chevdar
1963860a92
[K/N][caches] Removed old slow and hacky version of per-file caches building
2022-09-27 17:06:48 +00:00
Igor Chevdar
9250de42a5
[K/N][IR][codegen] Introduced NativeGenerationState
2022-09-27 17:06:48 +00:00
Igor Chevdar
77f24a22dd
[K/N][IR][codegen][caches] Speed-up of per-file caches
2022-09-27 17:06:48 +00:00
Igor Chevdar
aba8d8a859
[K/N][caches] Aligned caches layout for per-module and per-file cases
2022-09-27 17:06:47 +00:00
Igor Chevdar
b92580937a
[K/N][codegen] Slightly refactored invocation of CAdapterGenerator
2022-09-27 17:06:47 +00:00