Ivan Kylchik
1564f2c549
Mark all declarations that will be evaluated with ir interpreter
2022-05-18 21:19:54 +03:00
Ivan Kylchik
1ccd5d1a3a
Add new internal annotation IntrinsicConstEvaluation to kotlin-native
2022-05-18 21:19:53 +03:00
Iven Krall
ba5c85d6f2
KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing
2022-05-18 17:23:40 +00:00
Dmitriy Dolovov
8de4eb798c
[IR] Fix removal-of-abstract-fun IR linkage case
...
^KT-50771
2022-05-18 18:05:09 +03:00
Dmitriy Dolovov
deb9039b0f
[IR][tests] Add tests for IR linkage issues related to properties
2022-05-18 18:05:05 +03:00
Dmitriy Dolovov
8e8ecc48ad
[IR][tests] Add tests for removal-of-abstract-fun IR linkage case
...
^KT-50771
2022-05-18 18:04:26 +03:00
Dmitriy Dolovov
df909abaf5
[IR][tests] More precise IrLinkageError checks
2022-05-18 18:03:53 +03:00
Alexander Shabalin
49f80b207a
[K/N] Disable some tests in GC aggressive mode
2022-05-18 13:48:52 +00:00
Ilya Matveev
77b9923c38
[K/N] Fix tests failing in GC aggressive mode
2022-05-18 13:48:52 +00:00
Ilya Matveev
8493b955cc
[K/N][runtime] Add a lock on finalizer thread creation
...
The finalizer thread can be created from the GC thread or from
any application thread during runtime shutdown. This may cause
a rare race when the GC starts the finalizer thread during runtime
shutdown. In this case two finalizer threads may be created and
the app will crash on attempt to assign the finalizerThread_ field
in FinalizerProcessor.
2022-05-18 13:48:50 +00:00
Ilya Matveev
78d179e9ab
[K/N][runtime] Track safepoints in aggressive GC
...
Issue #KT-49188 Fixed
2022-05-18 13:48:49 +00:00
Dmitriy Dolovov
ec155653f0
[Native][tests] Log memory usage in Gradle build
2022-05-18 09:44:28 +00:00
Pavel Punegov
7bd7c09c4a
Revert "[K/N] Add build-tools as a module for IDEA"
...
This reverts commit c545fd5ef8 .
2022-05-18 10:58:47 +03:00
Pavel Punegov
3f10ab919f
Revert "[K/N] Add SAM with receiver plugin"
...
This reverts commit a58e2459c6 .
2022-05-18 10:58:47 +03:00
Ilya Muradyan
00819c421f
[REPL] Report script codegen errors in advance
2022-05-18 10:02:58 +03:00
Xin Wang
eb1d7110ec
FE: Fix null assertion error when left is CollectionLiteral
...
#KT-49961 fixed
2022-05-18 08:57:16 +02:00
Anton Lakotka
bd299ed12c
[Test] Rename gcc* to configCache* variable to avoid ambiguity
...
^KT-51947
2022-05-18 05:48:42 +00:00
Anton Lakotka
1c65ef28f8
[Test] Update warning message for tasks that disables GCC
...
cherry-picked from 26b4c946e67b25b7206c37ba56a79e5ffeb04dd6
^KT-51947
2022-05-18 05:48:41 +00:00
Anton Lakotka
dfd89a45f7
[Test] Disable Configuration Cache for native tasks
...
cherry-picked from 538cb41a320df93ca85a194b8566ea44457187ca
^KT-43293
2022-05-18 05:48:40 +00:00
Anton Lakotka
d2c6489de9
[Gradle] Mark tasks that not compatible with configuration cache
...
Gradle 7.4 offers new API that allow to exclude task configuration
from being stored in Configuration Cache.
GCC should be supported in further releases.
* KotlinNativeCompile -- KT-43293
* GenerateProjectStructureMetadata
and TransformKotlinGranularMetadata -- KT-49933
cherry-picked from 7bdde5f4c025f2f55c0038a8d58e0ea78a0ff151
^KT-51946 Verification Pending
2022-05-18 05:48:40 +00:00
Anton Lakotka
399bd750c1
[Gradle] [Test] Add Gradle 7.4.2 to test versions
2022-05-18 05:48:39 +00:00
Iven Krall
514fce427b
KT-51714: Parsing fails for context receivers with incomplete label
...
^KT-51576 In Progress
No test has been added since it would make indexing of Kotlin project failing
Will add it once bootstrap is advanced
2022-05-17 15:27:28 +00:00
Anastasia.Shadrina
292c0c4383
[FE] KT-51234 Check subtyping between context receivers
2022-05-17 15:27:27 +00:00
Anastasia.Shadrina
a3fa2dc9bf
[Tests] Fix contextualInlineCall.kt to avoid subtyping relation error
2022-05-17 15:27:27 +00:00
Anastasia.Shadrina
d857142514
KT-51243 Fix parameterized contextual lambda
...
^KT-51243 Fixed
2022-05-17 15:27:26 +00:00
Vladimir Dolzhenko
efd5beb49b
IJ file type optimizations based on extension
...
#KTIJ-21668
Merge-request: KT-MR-6288
Merged-by: Vladimir Dolzhenko <Vladimir.Dolzhenko@jetbrains.com >
2022-05-17 14:46:00 +00:00
Ilya Gorbunov
4a6466e290
Include kotlin.internal package from core/builtins/src into stdlib-common compilation
...
It is required because internal annotations from there can be used in
other compiled kotlin-stdlib-common sources.
2022-05-17 14:38:44 +00:00
Ilya Gorbunov
eb8e701cb5
Make IntrinsicConstEvaluation annotation internal
2022-05-17 14:38:43 +00:00
Steven Schäfer
90d09dce2c
JVM IR: Mangle overridden symbols in non-inline functions (KT-52394)
2022-05-17 12:13:29 +00:00
pyos
0fc676a20c
JVM: remove TypedNullValue, hack interpreter instead
2022-05-17 11:58:06 +00:00
pyos
513ef575ce
JVM: correctly merge typed null values
...
1. merge(null of type A, null of type B) = null of unknown type;
2. merge(null of type A, something of type B) = merge(unknown null, B).
^KT-52311 Fixed
2022-05-17 11:58:06 +00:00
nataliya.valtman
dcdd1cd14e
KT-49780 Do not clean outputs after cache corruption
2022-05-17 08:47:23 +00:00
Victor Petukhov
6c994787b3
[FE 1.0] Don't expand type enhancement
...
Actually shallow type enhancement is primary, it's more specific
^KT-50734 Fixed
2022-05-17 07:38:26 +00:00
konstantin.tskhovrebov
59b92c02b4
Add OptIn for KotlinNativeArtifactDSL implementation: mute warning.
2022-05-16 13:54:41 +00:00
Dmitriy Dolovov
6cf945f512
[Native][tests] Don't enforce test mode for KLIB ABI tests
2022-05-16 13:42:01 +00:00
Ilya Muradyan
edacd90a6c
[Scripting] Take local repository path from settings if it exists
2022-05-16 12:29:25 +00:00
Pavel Kunyavskiy
2c5d44ccf0
[K/N] downgrade node-fetch in perfomance server to version compatible with kotlin/js
2022-05-16 12:17:01 +00:00
Ilya Muradyan
46563e93ea
[Scripting] Allow transitive resolution of non-JAR artifacts
...
It allows to resolve libraries sources which is crucial for
Kotlin Notebook plugin.
2022-05-16 11:45:47 +00:00
Alexander Shabalin
a58e2459c6
[K/N] Add SAM with receiver plugin
2022-05-16 11:00:42 +00:00
Pavel Punegov
c545fd5ef8
[K/N] Add build-tools as a module for IDEA
...
Adds a module to project making it able to use analysis
and syntax highlight
2022-05-16 11:00:41 +00:00
konstantin.tskhovrebov
84add3a27e
KT-44155: Add 'headers' option to Cocoapod config.
...
It is needed for Cinteroping with pods without module map inside
2022-05-16 10:57:39 +00:00
konstantin.tskhovrebov
4753c3f4a3
KT-52328: Add '-framework' linker flag only if framework exists.
2022-05-16 10:55:46 +00:00
sebastian.sellmair
d737c3ebbe
[Gradle][MPP] Setup Gradle attributes for commonizer classpath configuration
...
KT-51583
2022-05-14 13:49:23 +00:00
Dmitriy Novozhilov
032f17920e
[Gradle] Add 1.8 and 1.9 api versions to gradle plugin
...
^KT-52208 Fixed
2022-05-14 09:54:42 +00:00
Pavel Kunyavskiy
134647169e
[K/N] add custom builtin_mul_overflow to workaround llvm bug
...
^KT-52365
2022-05-14 06:49:32 +00:00
Steven Schäfer
0da23198e6
JVM_IR: Add null-checks in SAM wrapper constructors (KT-50108)
2022-05-14 02:01:44 +02:00
Kristoffer Andersen
7f531d8426
[IR] Improve stepping/LVT behavior around destructuring
2022-05-13 23:19:27 +02:00
Kristoffer Andersen
c3dbb44e5f
[IR] Adjust LVT test expectations and mute accordingly
2022-05-13 23:19:27 +02:00
Kristoffer Andersen
b81139ad36
[IR] More extensive LVT tests around destructuring
...
All tests in this commit _pass_ to document existing behavior, but
this will change in a separate commit as we reflect desired behavior
in the test expectations.
2022-05-13 23:19:27 +02:00
Pavel Kunyavskiy
9b44c73f54
[K/N] fix build for perfomance server & upgrade dependencies
2022-05-13 19:47:36 +00:00