Dmitriy Novozhilov
eb041d5d6d
[Test] Add test for KT-42995
2023-07-05 06:56:14 +00:00
Dmitriy Novozhilov
a35b3bfd17
[Test] Add test for KT-41198 and KT-59860
2023-07-05 06:56:13 +00:00
Dmitriy Novozhilov
2ad441f6c8
[Test] Add test for KT-47494
2023-07-05 06:56:13 +00:00
Dmitriy Novozhilov
03973419dd
[Test] Add test for KT-47892
2023-07-05 06:56:12 +00:00
Dmitriy Novozhilov
637b46cb6e
[Test] Add test for KT-48115
2023-07-05 06:56:12 +00:00
Dmitriy Novozhilov
ca25610756
[Test] Add test for KT-47567
2023-07-05 06:56:11 +00:00
Pavel Kunyavskiy
396cfb3956
[K/N] Make cast to objc forward declaration unchecked
...
Before this commit it caused compiler crash.
Unchecked cast warning to be done later.
^KT-59645
2023-07-05 06:49:34 +00:00
Yahor Berdnikau
1fdda8962d
[repo] Migrate 'preparePublication' task into buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
7bfe59253f
[repo] Migrate 'manifestAttributes()' into buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
db1086f005
[repo] Migrate 'configureFrontendIr()' into buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
73a757c105
[repo] Migrate Groovy build scripts to use 'publish()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
d7fc4a1d27
[repo] Migrate Groovy build scripts to use 'sourcesJar()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
6d5f1c84a7
[repo] Migrate Groovy build scripts to use 'javadocJar()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Yahor Berdnikau
5de2b5aeb4
[repo] Migrate Groovy build scripts to use 'kotlinStdlib()' directly from buildSrc
2023-07-04 19:26:38 +00:00
Sergey.Shanshin
3629a9db30
[KxSerialization] Added inspection on abstract custom serializer
...
Serialization requires an instance of the serializer, which cannot be obtained with the passed interface, abstract or sealed class.
Therefore, the specifying of such classes in `Serializable` annotation must be prohibited.
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/2173
Relates #KT-58036
Merge-request: KT-MR-10753
Merged-by: Sergey Shanshin <Sergey.Shanshin@jetbrains.com >
2023-07-04 18:31:35 +00:00
Ilya Goncharov
8602ed2d21
[JS] Fix after rebase
2023-07-04 18:04:14 +00:00
Ilya Goncharov
08041230f0
[JS] Migrate checkers diagnostics test to IR backend
2023-07-04 18:04:14 +00:00
Ilya Goncharov
cb5b26d2e7
[JS] Fix diagnostics test data with IR compiler
2023-07-04 18:04:14 +00:00
Ilya Goncharov
de3f57cbdf
[JS] Use just analysis results in js ir tests
2023-07-04 18:04:13 +00:00
Ilya Goncharov
5cf0fd116f
[JS] Migrate diagnostics test to IR backend
2023-07-04 18:04:13 +00:00
Anna Kozlova
142421da5b
[AA] support psi-resolve for loops labels
...
required for navigation, rename (KTIJ-25762), find usages.
Resolve through symbols can't work, because loops are not declarations
2023-07-04 17:37:49 +00:00
Sebastian Sellmair
7f3970fb0f
[Gradle] Implement KotlinJvmWithJavaAndroidCompatibilityChecker to fail when 'withJava' is used together with AGP
...
As both (AGP and 'withJava') are using project global names like
'main' and 'test' which will lead to clashes (e.g. configuration names
are the same for both)
^KT-59595 Verification Pending
2023-07-04 16:59:26 +00:00
Sebastian Sellmair
1e87ba3485
[Gradle] Do not create dummy 'compileClasspath' anymore
...
As newer AGP versions do not suffer from KT-27170 anymore and
it was causing issues for buildscripts like
```
jvm()
jvm().withJava()
```
KT-59595
2023-07-04 16:59:26 +00:00
Sebastian Sellmair
e47f4137f4
[Gradle] KotlinJvmTarget: Apply java-base plugin instead of java plugin for withJava
...
^KT-59595 Verification Pending
2023-07-04 16:59:26 +00:00
aleksandrina-streltsova
55a276705d
[AA] Shortener: extract visitor for kdoc collection to separate class
2023-07-04 16:34:53 +00:00
aleksandrina-streltsova
39bdd67df6
[AA] Shortener: change test data
...
Remove ON_AIR_CONTEXT_CARET_TAG where it's not necessary
2023-07-04 16:34:53 +00:00
aleksandrina-streltsova
d89aafb06c
[AA] Resolve package fqName in KDoc
2023-07-04 16:34:52 +00:00
aleksandrina-streltsova
9766270afa
[AA] Shorten kdocs that became available because of newly added imports
2023-07-04 16:34:52 +00:00
aleksandrina-streltsova
88f2bf85eb
[AA] Test shortener for the whole file with different options
2023-07-04 16:34:51 +00:00
aleksandrina-streltsova
67c3849538
[Analysis API] Shortener: enable shortening in KDoc
...
^KTIJ-21103
2023-07-04 16:34:51 +00:00
Kirill Rakhman
e7c213e06e
[FIR] Report separate error for delegated constructor call to interface
...
#KT-59216 Fixed
2023-07-04 16:00:45 +00:00
Kirill Rakhman
5abab2197b
[FIR] Adapt positioning of NO_VALUE_FOR_PARAMETER to match K1
2023-07-04 16:00:45 +00:00
Kirill Rakhman
6d1d6e48c1
[FIR] Rename qualifiedAccessOrAssignmentsOrAnnotationCalls to callsOrAssignments and add delegated constructor calls
2023-07-04 16:00:45 +00:00
Sergej Jaskiewicz
6281faa063
[IR] Move IrFactory#createBlockBody overloads to extension methods
...
This is to prepare for IrFactory auto-generation (KT-59308).
2023-07-04 15:19:28 +00:00
Sebastian Sellmair
c7795c7863
[Wasm] Implement WasmDependencyResolutionSmokeTest
2023-07-04 14:16:26 +00:00
Igor Yakovlev
c6fdf1b3dd
[Wasm] Add kotlin wasm gradle attribute
2023-07-04 14:16:26 +00:00
Mads Ager
607d38f96f
[K2 plugin] Support simple arguments in annotation metadata extension.
...
^KT-58968
^KT-60051 Fixed
2023-07-04 14:11:26 +00:00
Aleksei.Glushko
96b44e0ad8
[K/N] concurrent weak sweep ^KT-57772
2023-07-04 13:42:59 +00:00
Dmitrii Gridin
09ca335b7e
[FIR] CFG: drop redundant edges
...
Edges from class to its functions and nested classes are redundant
and lead to extra resolution work in lazy resolve mode
^KT-59600 Fixed
2023-07-04 12:07:04 +00:00
Yan Zhulanow
df28bd1d79
[Stubs] Pass proper container source to stub-based FIR declarations
...
Backend, which is used by the expression evaluator, relies on the class
name in 'FacadeClassSource'. To pass the correct JVM class name,
stubs for top-level functions and properties got the 'origin'.
2023-07-04 11:17:39 +00:00
Yan Zhulanow
8bf8b7b35b
[LL API] Minor, prettify deserialized callable loading
2023-07-04 11:17:39 +00:00
Dmitrii Gridin
050c66ea81
[FIR] add missing Any super type to Cloneable
...
^KTIJ-24272 Fixed
2023-07-04 10:20:37 +00:00
Svyatoslav Scherbina
85919c4d62
Bump Kotlin/Native version in KGP to 1.9.20-dev-5069
...
Also, adjust NativeIrLinkerIssuesIT after 5f3dad1 . See the explanation
below.
5f3dad1 makes -Xlazy-ir-for-caches disabled by default. So the compiler
now deserializes different subsets of IR and in different orders.
As a result, the error message for a test changes. Both error messages
(before and after this commit) are correct, and the selection depends
on the IR deserialization strategy.
Moreover, this commit changes the expected error message to the initial
version, used before -Xlazy-ir-for-caches was introduced.
2023-07-04 10:16:32 +00:00
Dmitrii Gridin
43705d9a75
[FIR] drop redundant replace from wrapped expression
...
They were introduced for lazy
^KT-59687
2023-07-04 10:09:51 +00:00
Dmitrii Gridin
a81523fa74
[LL FIR] mark entire delegate as lazy expression
...
To simplify modification and restoring
^KT-59687
2023-07-04 10:09:51 +00:00
Dmitrii Gridin
f8b2b4ac21
[FIR] FirVariable: add replace method for delegate
...
It is required to properly implement lazy expression calculation
^KT-59687
2023-07-04 10:09:51 +00:00
Igor Chevdar
4f859a634e
[K/N] Fixed a bug in escape analysis
...
#KT-59693 Fixed
2023-07-04 09:45:48 +00:00
Ilya Goncharov
0bbf16dff4
[Wasm] Add kotlin-stdlib-wasm and kotlin-test-wasm to trusted group
2023-07-04 08:52:30 +00:00
Artem Daugel-Dauge
de56f788f6
[Gradle] Warn about kotlinArtifacts DSL usage
...
^KT-58029 Verification Pending
2023-07-04 08:29:39 +00:00
Yahor Berdnikau
4c95797067
[Gradle] disable toolchain auto-download in tests
...
Required JDKs should be already downloaded by Kotlin repo itself.
2023-07-04 07:38:12 +00:00