Pavel Punegov
515c7f50c9
[K/N][test] Exclude properties/lateinit/isInitializedAndDeinitialize
...
Exclude this tests temporarily from run with one stage mode.
Merge-request: KT-MR-8408
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-01-23 11:43:28 +00:00
Ilmir Usmanov
d18672bfb1
Wrap continuation with ContinuationImpl on callable references
...
in startCoroutineUninterceptedOrReturn. Otherwise, the coroutine will
not be interceptable later.
Add a test, which checks, that intercepted continuation is released.
#KT-55869
2023-01-19 00:35:36 +00:00
Pavel Kunyavskiy
2843c0ad1e
[K/N] Fix cleaning stack-local primitive array
...
^KT-55984
2023-01-18 11:52:43 +00:00
Vyacheslav Gerasimov
b4071e1bbe
Build: Add a separate task for K2 native codegen box tests
2023-01-17 14:25:14 +01:00
Mikhail Glukhikh
38b4bade40
K2/Native: use language version 2.0 instead of -Xuse-k2 in tests
2023-01-16 18:16:49 +01:00
Sergey Bogolepov
4ffb43c5bd
[K/N] Cover objcClassesIncludingCategories with smoke tests
2023-01-16 13:26:08 +00:00
Sergey Bogolepov
a9d13338bd
[K/N] Make AbstractNativeCInteropTest a bit more flexible
...
It probably requires a bit more thoughful refactoring, but before that
we need to collect more test-cases.
2023-01-16 13:26:07 +00:00
Abduqodiri Qurbonzoda
ba2833b90f
Mark Base64 API with ExperimentalEncodingApi
2023-01-16 11:24:50 +00:00
Pavel Kunyavskiy
6ab00a65dd
[K/N] Support volatile intrinsics on globals
...
Also, make intrinsics signature more consistent with other intrinsics,
e.g. with isInitialized on lateinit field.
^KT-54944
2023-01-16 08:34:24 +00:00
Pavel Kunyavskiy
fc95b88eef
[K/N] Tests for volatile
...
^KT-54944
2023-01-16 08:34:23 +00:00
Vladimir Sukharev
45de88abae
[K/N][KT-39120] Build platform libraries with -fmodules
...
Merge-request: KT-MR-8175
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-13 07:33:42 +00:00
Sergej Jaskiewicz
4a2a77d9b9
[K/N] Make classes generated from λs that use generic parameters generic
...
Previously, a function reference that used generic parameters from its
outer scope was lowered into a top-level non-generic subclass of
`FunctionN`, with `FunctionN` type arguments referencing type parameters
not present in the scope anymore. This sometimes resulted in generating
malformed mangled names.
From now on the generated subclass of `FunctionN` is generic. The needed
type arguments are passed upon instantiation, when the relevant generic
parameters are present in the scope.
2023-01-12 15:32:50 +00:00
Pavel Punegov
a90983ca6a
[K/N][test] Sync PsiFactory creation
...
CoreApplicationEnvironment.registerApplicationDynamicExtensionPoint should be
guarded to ensure registration won't happen concurrently
Merge-request: KT-MR-8251
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-01-12 10:39:43 +00:00
Igor Chevdar
ae56f2686a
[K/N][tests] Extracted common utility functions
2023-01-11 14:13:03 +00:00
Igor Chevdar
758e9ea9ae
[K/N][tests] Added a couple of tests on caches
2023-01-11 14:13:03 +00:00
Vladimir Sukharev
31a20a6631
Regenerate native tests
...
Merge-request: KT-MR-8207
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-05 11:02:27 +00:00
Igor Yakovlev
f7940a2d46
[Wasm] Fix invalid cast generation for inline classes
2023-01-04 17:16:04 +00:00
Vladimir Sukharev
924898afb7
[K/N] KFC-446: K2 platform: Native alpha
...
Merge-request: KT-MR-7905
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-04 16:10:40 +00:00
Alexander Udalov
3c4b5529af
Update year to 2023 in COPYRIGHT_HEADER.txt
...
This commit is the result of changing the year to 2023 in
COPYRIGHT_HEADER.txt and running all `generate*` tasks in
`generators/build.gradle.kts`.
2023-01-02 22:52:15 +01:00
Igor Yakovlev
3be3ae4895
[Wasm] Fix invalid boxing for non-primitive typed vararg
2022-12-29 11:57:46 +00:00
Sergey Bogolepov
64319477f0
[K/N] Test for cinterop hints
2022-12-21 13:28:17 +00:00
Igor Chevdar
0f2ebeea15
[tests] Added a test for KT-55494
2022-12-16 18:32:42 +00:00
Dmitriy Dolovov
ab4603c9a3
[K/N] Mute LLDB tests if any other than DEBUG opt mode is used
2022-12-15 13:11:57 +00:00
Dmitriy Dolovov
f07f7885c5
[K/N] Small clean-up in LLDB tests
2022-12-14 08:58:10 +00:00
Johan Bay
842a66c3de
[K/N] Migrate LLDB test to blackboxtest
...
This change only introduces a single sample test together
with the necessary plumbing for basic LLDB testing.
Migrating the rest of the tests over and introducing more
complex interop setups will be tackled as a follow-up.
2022-12-14 08:58:10 +00:00
Sergej Jaskiewicz
9c6f92d697
[test] Add a test for KT-55318
2022-12-13 17:01:00 +00:00
Evgeniy.Zhelenskiy
f09fb5ed09
[IR] Enable tests for inline classes secondary constructors with body for not JVM
...
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com >
#KT-55333
2022-12-11 22:06:47 +01:00
pyos
0d46dfc1ba
FIR: fix substitution of type arguments in SAM type aliases
...
^KT-54730 Fixed
2022-12-07 22:09:20 +00:00
Vladimir Sukharev
b883dc5434
[KT-39120] Add "-fmodules" argument support to Cinterop
...
Merge-request: KT-MR-6921
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-11-30 08:46:40 +00:00
Sergej Jaskiewicz
aa1b18b0c8
[IR] Prevent infinite recursion when rendering bound symbol references
...
Refactor the renderer, make BoundSymbolReferenceRenderer a static class
to prevent calling RenderIrElementVisitor's methods from it to avoid
infinite recursion in the future.
^KT-52677 Fixed
2022-11-28 16:43:53 +00:00
Vladislav Grechko
cd6e865fb3
Improve support of 'lateinit' modifier
...
- Allow 'lateinit' for inline classes which underlying type
is suitable for 'lateinit'
- K2: report all problems related to 'lateinit' modifier
^KT-55052: Fixed
2022-11-24 19:47:21 +00:00
vladislav.grechko
e0c13e5276
Fix addAll & putAll invocations on inline mutable collections
...
^KT-54950: Fixed
2022-11-24 19:27:42 +00:00
Ilya Chernikov
4e4511bba2
FIR2IR: convert enums with non-primary default ctor correctly
...
see added test for example
2022-11-12 16:28:24 +01:00
Pavel Mikhailovskii
252e97663b
KT-54784 Fix function inlining in init sections
2022-11-09 17:15:37 +00:00
Alexander Udalov
d7a58a7c6c
Keep track of array types in OptimizationBasicInterpreter
...
Merging array types with different element types, for example
`[Lj/l/String;` and `[Lj/l/Object;`, now produces `[Lj/l/Object;`
(instead of `Lj/l/Object;`), which allows for more precise tracking of
null values because we assume that AALOAD on a non-array typed value is
possible only if that value is null.
#KT-54802 Fixed
2022-11-07 17:22:38 +01:00
mvicsokolova
95506ff56e
Fix initialization args for AbstractNativeKlibBinaryCompatibilityTest
2022-11-04 10:10:51 +00:00
Dmitriy Dolovov
fbfb564b41
[Native][tests] Don't compile given KLIB libraries
2022-11-04 10:10:51 +00:00
Dmitriy Dolovov
a8b0f8a145
[Native][tests] Minor: Add check to ensure all custom KLIBs are valid
2022-11-04 10:10:50 +00:00
mvicsokolova
775db55539
[Native][tests] Support passing custom (external) KLIBs as -l dependencies to Kotlin/Native compiler invocation
2022-11-04 10:10:50 +00:00
Dmitriy Dolovov
f98a5020cd
[Native][tests] Don't patch FQNs inside of kotlinx.* package
2022-11-04 10:10:49 +00:00
mvicsokolova
2f85b4928e
Moved nativeTest constructor to buildSrc
2022-11-04 10:10:48 +00:00
Pavel Punegov
762f014c5f
[K/N][test] Don't mark objects with ThreadLocal annotation for new MM
...
Merge-request: KT-MR-7569
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2022-11-03 11:23:36 +00:00
Alexander Udalov
54ab66cd4e
Add regression test for KT-54707
2022-11-01 11:24:03 +01:00
Ilya Goncharov
05fd437d42
[JS IR] Regenerate tests
2022-10-31 16:08:26 +00:00
Ilya Goncharov
372a512c91
[JS IR] Add case with bridge for method with default parameters
2022-10-31 16:08:24 +00:00
Sergej Jaskiewicz
b429e2f34f
Remove a test that doesn't make sense anymore
2022-10-27 11:28:01 +00:00
Nikolay Lunyak
7e323f8ac6
[FIR] KT-54692: Fix compiler crash on UInt.shl
...
Merge-request: KT-MR-7513
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com >
2022-10-27 10:40:06 +00:00
Ilya Goncharov
fd5fba6f09
[JS IR] Fix case with bridge with nested classes
...
^KT-54686 fixed
2022-10-26 12:56:03 +00:00
Pavel Punegov
d2c58cdd27
[K/N][build] Dependencies fixes: trove4j and kotlin-compiler
...
* Depend on kotlin-compiler project instead of its runtimeElements only
* trove4j fixes: add as a dependency and use common version
* Strip dependencies in different projects: remove unnecessary
2022-10-21 10:33:40 +00:00
Dmitriy Dolovov
181809e2af
[IR][tests] Support friend-dependencies in KLIB ABI compatibility tests
2022-10-20 10:18:56 +02:00