Dmitriy Novozhilov
993695a7d0
[Commonizer] Mute tests due to KT-56207
2023-01-30 09:30:00 +00:00
Dmitriy Novozhilov
88efa6bfb6
Update tests after switching to LV 1.9
2023-01-30 09:29:57 +00:00
Vladimir Sukharev
debbfa8397
[K2/N] Add klib contents serialization tests from old testinfra
...
Merge-request: KT-MR-8509
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-27 23:30:45 +00:00
Ivan Kylchik
706a8a91f6
Move kt55912 test into involvesIrInterpreter dir
2023-01-27 17:15:52 +00:00
Sergej Jaskiewicz
bd18fd40ea
[K/N] Remap type args of SAM interfaces in FunctionReferenceLowering
...
#KT-56188 Fixed
2023-01-27 15:26:32 +00:00
Ivan Kylchik
bc21753877
Move IR interpreter's tests from ir/loweredIr directory into box
2023-01-27 10:52:56 +00:00
Ivan Kylchik
13cad2a820
Don't save constant value for non-resolved array expression in K1
...
#KT-55912 Fixed
2023-01-27 09:56:35 +00:00
Vladimir Sukharev
1990883bdc
[K2/N] KT-55464, KT-56091 Fix various klib annotations, including critical ones
...
Merge-request: KT-MR-8457
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-01-26 11:15:15 +00:00
Roman Efremov
2dc3871954
Add "hasEnumEntries" class flag to kotlinx-metadata
...
^KT-53929 Fixed
2023-01-23 12:53:06 +01:00
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
Sergey Bogolepov
955479752e
[K/N] Mention deprecation in -list-targets flag
2023-01-18 16:17:13 +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
Mikhail Glukhikh
89dd28226b
BinaryVersion: introduce isCompatibleWithCurrentCompilerVersion
2023-01-16 18:12:55 +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
Stanislav Erokhin
37ab139139
[Gradle][MPP] Deprecate several K/N targets
2023-01-11 17:52:28 +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
Yahor Berdnikau
b9aac83135
Add Kotlin Gradle plugins bom
...
This should help with failed variants selection between different Kotlin
Gradle plugins versions.
^KT-54691 In Progress
2023-01-05 18:26:27 +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
Sergey Bogolepov
233b01f341
[K/N] CInterop ExceptionPrettifier
...
Add a wrapper around cinterop invocation that tracks exceptions.
Wrapper has a set of handlers. Each handler checks exception for some
pattern and if it matches, throws another exception with a more
user-friendly message.
The first such case is compilation error due to missing -fmodules flag.
2022-12-21 13:28:17 +00:00
Pavel Kunyavskiy
4928e284f6
Make LateinitIntrinsicApplicabilityChecker warning for Native and JS
...
This checker was enabled only on JVM by mistake.
It's now fixed, but we don't want to make it an error in minor release.
So it will be an warning in 1.8.20 and an error in 1.9.0
^KT-27002
2022-12-20 20:06:52 +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
Sebastian Sellmair
bd229584e4
[Gradle] Implement sources.jar resolvers
...
^KT-55289 Verification Pending
2022-12-12 20:29:07 +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
Sergej Jaskiewicz
1539d7ef1a
[klib] Bring package names in sync with the directory layout
...
Basically, some package names were Native-specific, whilst the packages
themselves were not Native-specific at all. This was already reflected
in the directory layout, but not in the package names.
This is fixed here.
NFC, just an automatic rename of packages with fixes of imports.
2022-12-01 21:46:43 +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