Vladimir Sukharev
70db3b4c68
Count in interfaces/classes/packages when resolving name clashes with "_" suffix mangling
...
^KT-41904 Fixed
Merge-request: KT-MR-6862
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-08-17 14:23:12 +00:00
Mikhail Glukhikh
b4a92e8a56
Undeprecate @BuilderInference annotation #KT-52400 Declined
2022-08-17 14:07:13 +00:00
Ilya Gorbunov
744896b571
Explicitly specify repository for resolving tested version of artifacts
...
Currently, it implicitly relies on the space bootstrap repository
which can be changed when using a different bootstrap method
(e.g. from TeamCity build or from locally deployed artifacts).
2022-08-17 13:46:49 +00:00
Vladimir Sukharev
6f945aa2fc
[KT-42830][Reverse C Interop] Add API to get value of boxed primitives
...
Merge-request: KT-MR-6836
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-08-17 13:24:27 +00:00
Leonid Startsev
c1191e141b
Re-generate copyright in obsolete tests in kotlinx.serialization
2022-08-17 15:02:38 +02:00
Leonid Startsev
18ec5d4ec1
Add additional check to IrClass.findEnumValuesMethod()
...
to avoid finding user-defined member function
2022-08-17 11:43:41 +00:00
Leonid Startsev
6893e210fb
[K2] Remove typeWithStarProjections in favor of constructStarProjectedType
2022-08-17 11:43:40 +00:00
Leonid Startsev
638665d9b0
Refactor typeWithStarProjections() so it uses FirClassSymbol instead of FirClass
...
It removes necessity to access .fir in plugins
2022-08-17 11:43:40 +00:00
Leonid Startsev
b17ead97bc
Fix incorrect class reference in polymorphic and contextual case
...
Upper bound should be used for type parameters there
2022-08-17 11:43:39 +00:00
Leonid Startsev
6a6b542ae2
Extract predicates to separate file, apply other review suggestions
2022-08-17 11:43:38 +00:00
Leonid Startsev
a4b35c5810
Refactor most of the new code, split huge GeneratorHelpers.kt appropriately
2022-08-17 11:43:37 +00:00
Leonid Startsev
c1b0ad418b
Activate MetaSerializable test and update serialization dependency
2022-08-17 11:43:37 +00:00
Leonid Startsev
b0716fe725
Adapt IR serialization plugin so it works both with FIR and old FE
...
(except some places that are not currently supported by FIR part of plugin)
2022-08-17 11:43:36 +00:00
Leonid Startsev
89329a0e1b
Introduce @FirIncompatiblePluginApi
2022-08-17 11:43:35 +00:00
Leonid Startsev
467ff30aac
Support full pipeline for basic kotlinx.serialization case:
...
FIR frontend and IR backend plugins.
Note: IR plugin is now broken for old FE, fixed in subsequent commits
2022-08-17 11:43:34 +00:00
Leonid Startsev
cefc372632
Remove BindingContext, KotlinType and *Descriptor from IR plugin dependencies
2022-08-17 11:43:34 +00:00
Leonid Startsev
6f6342dafc
Prototype of kotlinx.serialization FIR plugin:
...
Implement basic non-parameterized case
2022-08-17 11:43:33 +00:00
Jinseong Jeon
ed92cc43c7
AA: introduce eq checker to handle ambiguous PSI from binary module
2022-08-17 13:35:29 +02:00
Andrey Uskov
3b63c1bf82
Update dependency on junit-jupiter-api to 5.6.3
...
#KT-51063 Fixed
2022-08-17 14:15:44 +04:00
Pavel Kunyavskiy
de1dd47ab1
[K/N] Rework defines passing to runtime compilation
2022-08-17 08:32:47 +00:00
Andrey Uskov
339868305e
Fixed handling of special symbols in paths when reporting errors
...
#KT-53246 Fixed
2022-08-17 10:38:28 +04:00
Alexander Udalov
02bd26562c
Improve stack trace analysis logic in parameter null check intrinsic
...
This doesn't change behavior for the default JVM, so no new tests are
added. The current behavior is already tested in
`javaInterop/notNullAssertions/paramAssertionMessage.kt`. But this will
improve exception message on Android, where there are 2 platform frames
in the stack trace instead of 1.
#KT-50083 Fixed
2022-08-17 02:00:49 +02:00
Sergej Jaskiewicz
d24bbb63f5
[JS IR] Enable logging for stepping tests
...
The IrJsSteppingTestGenerated.testTryCatchExpression test is flaky.
Let's enable some logging to see what's what.
2022-08-16 16:46:43 +00:00
Svyatoslav Scherbina
66a870301c
Bump Kotlin/Native version to 1.8.0-dev-1808
2022-08-16 17:18:09 +02:00
Aleksei.Cherepanov
df017ea187
Clean JavaClassesTracker and LookupTracker on call RetryWithAdditionalRoots
...
#KT-38576 Fixed
2022-08-16 14:38:01 +00:00
Vladimir Sukharev
62707c9a89
Noinline main function also in case of no location debuginfo
...
Merge-request: KT-MR-6868
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-08-16 14:37:17 +00:00
Ilya Goncharov
626ebb7c7e
[Gradle, JS] Update NPM dependencies
...
^KT-53614 fixed
2022-08-16 11:09:11 +00:00
Andrei.Tyrin
e87ea4c209
[MPP] Support for platform notation in Gradle MPP dependencies configuration
...
KT-53396
2022-08-16 10:05:05 +00:00
Iven Krall
ec8da2033c
KT-8263: Conditional operators are not parsed correctly
2022-08-16 10:00:54 +00:00
Iven Krall
2053363def
KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing
2022-08-16 10:00:53 +00:00
Alexander Likhachev
c1f0e71056
[Gradle] Make daemon connection error logging compatible with Gradle 6.7
...
`Throwable.stackTraceAsString` is available in stdlib since Kotlin 1.4, but Gradle 6.7 uses bundled Kotlin 1.3. Use `stackTraceAsString` that does exactly the same from KGP instead
2022-08-16 11:10:48 +02:00
Alexander Likhachev
468ff889a7
[Gradle] Add tests for Kotlin daemon fallback strategy
...
#KT-48843
2022-08-16 11:10:47 +02:00
Alexander Likhachev
5fa7fcb7a8
[Gradle] Add property to disable Kotlin compiler daemon fallback strategy
...
#KT-48843 Fixed
2022-08-16 11:10:47 +02:00
Alexander Likhachev
41e6f7efc5
[Gradle, JS] Add test for KT-53374
2022-08-16 08:47:32 +00:00
Alexander Likhachev
7cc42d3fe9
[Gradle] Implement IDEA sync detection via ValueSource for Gradle 7.5+
...
#KT-53374 Fixed
2022-08-16 08:47:31 +00:00
Alexander Likhachev
b5491177c9
[Gradle] Add Gradle 7.5+ variant
2022-08-16 08:47:31 +00:00
mvicsokolova
3021008b5f
Enable JS/JVM IR transformation by atomicfu-compiler-plugin according to the flag set in the project.
...
Merge-request: KT-MR-6865
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2022-08-16 08:12:04 +00:00
Alexander Likhachev
effa12e9a4
[Gradle] Optimize KaptGenerateStubs inputs filtering
...
^KT-53118 Fixed
2022-08-16 07:26:22 +00:00
Yahor Berdnikau
d6032be06e
Reduce overhead on wiring task inputs to Android layouts
...
^KT-53118 In Progress
2022-08-16 07:26:21 +00:00
Simon Ogorodnik
6dd9115ee9
FE1.0 Analysis API: Fix kind in implicit smart-casts info
2022-08-15 21:46:11 +00:00
Simon Ogorodnik
513af2dfbc
FIR. Refactor smart-cast representation in FIR tree
...
Make smart-casts non-transparent expression without delegation
to underlying FirQualifiedAccessExpression, as children delegation in
fir tree has unclear semantics
Remove two different kinds of tree nodes for smart-casts
2022-08-15 21:46:11 +00:00
Kristoffer Andersen
bc9db58b3c
[AA] Rename getElementOfTyp_e_AtCaret
2022-08-15 23:32:33 +02:00
Igor Chevdar
f4cf2757e6
[K/N][IR] Moved EnumsSupport to corresponding lowering
2022-08-15 18:00:32 +00:00
Igor Chevdar
0ea8fc5b08
[K/N][IR] Refactored enums lowering
2022-08-15 18:00:31 +00:00
Vladimir Sukharev
f4c5f5d8eb
Fix filecheck for Objective-C targets
...
Merge-request: KT-MR-6854
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-08-15 15:11:52 +00:00
Nikolay Krasko
ab3d3edb2b
Fix write-verification-metadata instruction
2022-08-15 12:18:13 +00:00
Nikolay Krasko
48e8c0020d
Update dokka to 1.7.0
...
This should fix reproducibility
(https://youtrack.jetbrains.com/issue/KT-52069/Dokka-resulting-htmls-are-not-stable )
^KTI-893 Fixed
2022-08-15 12:18:12 +00:00
Dmitry Gridin
c9e9ee90a3
[analysis] remove redundant OptIn annotations
2022-08-15 11:04:59 +02:00
Dmitry Gridin
8dbdea39da
[analysis] remove redundant diagnostic suppression
2022-08-15 11:04:58 +02:00
Dmitry Gridin
6a83bcf349
[lc] reformat KotlinAsJavaSupport
...
^KT-53543
2022-08-15 11:04:31 +02:00