Dmitriy Dolovov
4f1155b06f
[PL] ABI compatibility tests for reworked partial linkage
2023-03-23 10:24:27 +00:00
Vladimir Sukharev
9407ec35e3
KT-57487: Add codegen test
...
Merge-request: KT-MR-9300
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-03-23 10:03:00 +00:00
Pavel Kunyavskiy
b01cc1f88c
[K2/N] Fix property accessors modality in K2 metadata
...
^KT-56603
2023-03-22 13:47:01 +00:00
Kirill Rakhman
45d2424ad8
[FIR] Let prefix inc/dec call getter twice for compatibility with K1
...
#KT-57179 Fixed
2023-03-21 08:48:38 +00:00
Vyacheslav Gerasimov
76c54a8ff3
Build: Fix usages of apis deprecated in Gradle 8
2023-03-20 19:45:39 +00:00
Pavel Punegov
40270a9c72
[K/N][test] Update LLDB tests with function references
...
After the fixes to function inlining tests revealed the problem with
debug info generated for inlined lambdas. See the ^KT-57365
Merge-request: KT-MR-9252
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-03-20 12:03:43 +00:00
Vladimir Sukharev
5ef62c8760
[K2/N] Replace K2 prefixes for test classes with Fir
...
Merge-request: KT-MR-9248
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-03-20 10:55:57 +00:00
Vladimir Sukharev
c3cfe7ddf7
Revert "Replace K2 prefixes in test files to Fir"
...
This reverts commit f1c673c166 .
2023-03-17 14:33:01 +01:00
Vladimir Sukharev
f1c673c166
Replace K2 prefixes in test files to Fir
2023-03-17 14:26:32 +01:00
Dmitriy Novozhilov
ca2492e1f8
[FIR2IR] Unwrap substitution overrides during generation of delegated members
...
^KT-55828 Fixed
2023-03-17 12:37:33 +00:00
Ilya Chernikov
be2a85be71
K2: support implicit integer to unsigned conversions...
...
with dedicated opt-in language feature and special
annotation or module capability.
Not intended for a general use, solves specific K/N
scenario with interop libs.
#KT-55902 fixed
2023-03-17 08:57:51 +00:00
Pavel Kunyavskiy
e655e0a809
[K/N] Fix default argument lambda in suspend function code generation
2023-03-16 21:14:41 +00:00
Pavel Kunyavskiy
62fb3df7f0
[K/N] Disable scope initialization on constant access
...
^KT-57098
2023-03-15 09:03:19 +00:00
Alexander Shabalin
e6297f92fa
[K/N] Issue deprecation warning when using legacy MM
...
Merge-request: KT-MR-9091
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2023-03-15 08:22:37 +00:00
Ivan Kylchik
0af4ef8ee9
Fix typo in test name: inlinInDefault -> inlineInDefault
2023-03-14 20:47:43 +00:00
Ivan Kylchik
bb401c39d9
Add several new SMAP tests
...
Some of them are still failing and suppose to be
fixed later
2023-03-14 20:47:39 +00:00
Pavel Kunyavskiy
dc2e072af2
[K/N] Make exception handling in initializers more consistent with jvm
...
^KT-57091
2023-03-14 12:59:14 +00:00
Pavel Kunyavskiy
0506d39d8a
[K/N] Support ignoring test with legacy mm
2023-03-14 12:59:13 +00:00
Pavel Punegov
7fa7118325
[K/N][test] LLDB tests should run only on host target
...
* Use EnforceHostTarget for the LldbTestGenerated
* Exclude test in provider if run with non-host target
Merge-request: KT-MR-8964
2023-03-14 11:06:51 +00:00
Pavel Punegov
60f43d6d4f
[K/N][test] Use Executors in the New test infra
...
Add RunnerWithExecutor class that uses Executors
Re-use checkers in the new executor
Merge-request: KT-MR-8964
2023-03-14 11:06:51 +00:00
Pavel Punegov
76ab130011
[K/N] Make executors be separate included project
...
This change will make possible use Executors in old, gtest and new
test infrastructures.
Merge-request: KT-MR-8964
2023-03-14 11:06:50 +00:00
Nikolay Krasko
57934a6870
Revert "Revert "[K2/N] KT-57026, KT-57208: Adjust Native & JS test infrastructures for MPP testing""
...
This reverts commit c0c692844e .
2023-03-10 14:24:49 +01:00
Nikolay Krasko
c0c692844e
Revert "[K2/N] KT-57026, KT-57208: Adjust Native & JS test infrastructures for MPP testing"
...
This reverts commit 6964121c15 .
2023-03-10 13:14:10 +00:00
Pavel Punegov
aed6272107
[K/N] Merge :kotlin-native-shared with :native:kotlin-native-utils
...
* Code was moved to utils, but sources are included to the shared
until bootstrap advance.
* Fixed dependencies and set API & LV to 1.4 for the modules used with
Gradle.
Merge-request: KT-MR-9122
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-03-10 12:57:35 +00:00
Kirill Rakhman
0e721c8fc2
[FIR2IR] Fix generation of val initialization after smart-cast
...
If neither setter nor backing field were found for an assignment call,
search overridden properties for backing fields.
^KT-57105 Fixed
2023-03-10 09:30:51 +00:00
Vladimir Sukharev
6964121c15
[K2/N] KT-57026, KT-57208: Adjust Native & JS test infrastructures for MPP testing
...
Merge-request: KT-MR-9081
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-03-09 18:56:30 +00:00
Kirill Rakhman
c4255cdb0f
[FIR2IR] Fix adapted callable reference to nested class constructor
...
^KT-56829 Fixed
2023-03-08 08:36:52 +00:00
Igor Chevdar
315d9089b0
[box-tests] Another version of reproducer for KT-56965
2023-03-08 06:48:52 +00:00
Igor Chevdar
99ec3215d9
[box-tests] Added a reproducer for KT-57053
2023-03-08 06:48:51 +00:00
Evgeniy.Zhelenskiy
88f293d4a9
[IR] Support reflection for MFVC
...
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com >
#KT-1179
2023-03-07 21:44:43 +00:00
vladislav.grechko
7033d78641
Fix SAM conversion generation condition
...
Remove check if array is passed to vararg parameter as it's not
relevant anymore and leads to ^KT-51821.
^KT-51821: Fixed
2023-03-04 12:53:48 +00:00
Vladimir Sukharev
0c2e3d2d48
Rename K2 test tasks
...
Merge-request: KT-MR-9069
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-03-02 20:58:31 +00:00
Yahor Berdnikau
8f07a9cc61
Cleanup unused Kotlin daemon dependencies
2023-03-02 16:24:54 +01:00
Kirill Rakhman
1f0e6321b0
[FIR2IR] Use companion as bound receiver if expected type requires it
...
A::foo is preferably resolved as an unbound reference to A.foo, however
if A.Companion is a subtype of A and the expected type has one fewer
parameter than the type of the unbound reference, generate a bound
reference with the companion as receiver.
^KT-56519 Fixed
2023-03-02 10:55:46 +00:00
Kirill Rakhman
3b9724d20e
[FIR] Desugar increment/decrement in body resolve phase
...
The expression needs to be resolved first to determine if there is a
receiver that needs to be extracted to a temporary variable. Also, the
special case for prefix increment/decrement on local variable without
delegates requires resolution to check if the variable is local.
^KT-56771 Fixed
^KT-56659 Fixed
2023-03-02 10:19:57 +00:00
Kirill Rakhman
d00513599b
[FIR2IR] Expand typealias in callable reference receiver generation
...
^KT-56750 Fixed
2023-03-02 08:20:04 +00:00
Ivan Kochurkin
ee53c5780f
[FIR] Extract K2 MPP test data to the separated directory
2023-03-01 22:10:11 +00:00
Vladimir Sukharev
8e5b19fe96
Put separate tag to KotlinTestK2LibraryTest to disable it for one-stage testing
...
Merge-request: KT-MR-9054
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-03-01 15:25:34 +00:00
Igor Chevdar
c038bbde08
[box-tests] Added a reproducer for KT-56965
2023-03-01 08:09:51 +00:00
Vladimir Sukharev
9a30edceeb
Put proper tag to stdlibK2
...
Merge-request: KT-MR-9034
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-02-28 20:48:08 +00:00
Nikolay Lunyak
be5850112a
[FIR] KT-56723: Ensure safe access over non-expressions is always Unit
...
^KT-56723 Fixed
2023-02-27 15:00:30 +00:00
Ilmir Usmanov
b3890885c4
JVM: Break infinite loop in finding meaningful instruction
...
during tail-call optimization.
There can be code, where all next instructions are non-meaningful and
there is a back-edge, for example, while(true){}. Previously, analyzer
incorrectly assumed, that this cannot happen. Now, it keeps track of
visited instructions and says, that there is no meaningful instruction
in such case.
#KT-56815 Fixed
2023-02-23 17:54:46 +00:00
Igor Chevdar
5d3b61364a
Added a test for KT-56500
2023-02-23 15:32:25 +00:00
Alexander Udalov
4ad594a3cd
Minor, move tests about Java field and Kotlin property
...
Because the `fieldRename` directory was originally about cases when
private fields are renamed because of clashes.
2023-02-23 12:54:00 +01:00
Denis.Zharkov
0c9fad87c3
K2: Fix deserialization of upper bound of type parameter in nested class
...
Previously, containingDeclarationSymbol for V was set to the outer class
BaseRoot, so its upper bounds was computed to the ones from TNested
at org.jetbrains.kotlin.fir.resolve.calls.CreateFreshTypeVariableSubstitutorStageKt.getTypeParameterFromExpandedClass
^KT-56706 Fixed
2023-02-21 12:35:34 +00:00
Sebastian Sellmair
d103f60af8
[Commonizer] Demote duplicate dependency libraries to 'warning'
...
^KT-56729 Verification Pending
2023-02-20 16:30:10 +00:00
Ivan Kylchik
477d092bb8
Avoid object's interpretation with nullable type
...
#KT-56215 Fixed
2023-02-20 15:52:52 +00:00
Vladimir Sukharev
24696915f4
Use simplest way to split text to lines on all targets
...
Merge-request: KT-MR-8858
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-02-20 10:55:04 +00:00
Svyatoslav Scherbina
369ca6b4eb
[K/N][tests] Skip CachesAutoBuildTest when cacheMode == none
...
These tests rely on cacheMode != none.
2023-02-20 09:21:32 +00:00
Yahor Berdnikau
0cad069522
[Build] Pin api and language level to 1.8 in Kotlin compiler modules used by KGP
...
This is required to be able to compile KGP and it's dependencies which
set LV to 1.4 when repo will use LV 1.9. This caused by the change how
enums are compiled (KT-48872).
2023-02-18 13:26:54 +00:00