Vladimir Sukharev
2f3705f0eb
[K/N][Tests] Move funptr.kt to standalone tests due to OUTPUT_DATA_FILE directive
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
c286b0efd7
[K/N][Tests] Migrate tests forwardDeclarationsTwoLibs.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Vladimir Sukharev
bd688b3ef7
[K/N][Tests] Migrate tests kt49034*.kt
...
^KT-61259
2024-01-22 12:29:57 +00:00
Artem Kobzar
57a4d09ad2
[K/Wasm] Add tests for nested external declarations + fix them
2024-01-22 11:55:09 +00:00
Igor Chevdar
f3a807c507
[IR] Fixed a problem in FunctionInlining
...
#KT-64868 Fixed
2024-01-22 09:34:42 +00:00
Vladimir Sukharev
d2b810c373
[K/N][Tests] Polish sharing_with_weak.kt
...
^KT-61259
2024-01-19 18:37:43 +01:00
Vladimir Sukharev
39e2187d31
[K/N][Tests] Split filecheck part from test direct.kt
...
^KT-61259
2024-01-19 18:31:25 +01:00
Vladimir Sukharev
833e125450
[K/N][Tests] Polish test sharing_with_weak.kt
...
^KT-61259
2024-01-19 18:22:22 +01:00
Vladimir Sukharev
4aa8774c6e
[K/N][Tests] Migrate test direct.kt
...
^KT-61259
2024-01-19 18:22:22 +01:00
Vladimir Sukharev
e59a80bd69
[K/N][Tests] Migrate test overridabilityCondition.kt
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
2d0009ff99
[K/N][Tests] Migrate test illegal_sharing_with_weak.kt
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
647a907204
[K/N][Tests] Migrate kt48816 tests
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
cc13888dd0
[K/N][Tests] Migrate second ObjC test with framework
...
^KT-61259
2024-01-19 18:22:21 +01:00
Vladimir Sukharev
1b18f4ed1e
[K/N][Tests] Migrate first ObjC test with framework
...
^KT-61259
2024-01-19 18:22:20 +01:00
Vladimir Sukharev
6e2df0e086
[K/N][Tests] Migrate first Apple-specific test
...
^KT-61259
2024-01-19 18:22:20 +01:00
Ilya Chernikov
3b70b3d92d
K2 Scripting: restore some codegen scripting tests for K2
2024-01-19 15:54:53 +00:00
Mikhail Glukhikh
a83d2b7a67
FirJavaElementFinder: return packages with true isValid()
...
#KT-65111 Fixed
2024-01-19 15:52:14 +00:00
Mikhail Glukhikh
ae6aef3a63
K2: reproduce KT-65111
2024-01-19 15:52:14 +00:00
Sergej Jaskiewicz
e8aa05928d
[FIR2IR] Unconditionally disable linkViaSignatures on JVM
...
It was an experimental compilation mode that we don't need anymore.
KT-64809
2024-01-19 13:35:59 +00:00
Alexander Udalov
b2c30921e4
JVM: support JVM-specific primitive/wrapper type overridability check
...
#KT-62045 Fixed
2024-01-19 12:30:48 +00:00
Ilmir Usmanov
19283048a8
Replace bytecode text test with a stepping test
...
#KT-62965
2024-01-19 10:52:39 +00:00
Xin Wang
2e32e13466
JVM Codegen: Mark line number before calling of indy in SAM Conversion
...
Fixes: KT-62965
2024-01-19 10:52:39 +00:00
Alexander Korepanov
f5d0c22736
[K2 JS] Unmute and link to issue some JS K2 tests
2024-01-18 15:48:55 +00:00
Kirill Rakhman
c39262195d
[FIR] Let attributes opt-in to participating in ConeClassLikeTypeImpl structural equality
...
This is required for EnhancedTypeForWarningAttribute because scopes
should not be reused between cone types with different values of
this attribute.
#KT-63208
(cherry picked from commit 9189154cae )
2024-01-18 08:27:10 +00:00
Alexander Udalov
35caae355d
Tests: minor, add box test for KT-31367/KT-61805
...
For some reason, codegen box test was not added in 082c337faa . The main
point of it now is to check that everything works correctly in the
IrFakeOverrideBuilder mode.
2024-01-17 12:27:36 +00:00
Pavel Kunyavskiy
15094eb03a
[IrFakeOverrideBuilder] Support fake overrides for java static methods
...
^KT-64150
2024-01-17 11:40:12 +00:00
Vladimir Sukharev
48df87f635
[K/N][Tests] Migrate two more cinterop tests
...
^KT-61259
2024-01-17 08:33:41 +00:00
Kirill Rakhman
0cebf2b39f
[Tests] Remove irrelevant code from test
2024-01-17 08:20:06 +00:00
Kirill Rakhman
251827c9aa
[FIR] Don't approximate captured types
...
This fixes some type argument mismatch errors caused by a captured type
being approximated and then captured again.
Some places need to be adapted to work with captured types that
previously only worked with approximated types.
#KT-62959 Fixed
2024-01-17 08:20:05 +00:00
Vladimir Sukharev
80cf88c9b9
[K/N][Tests] Move threadStates tests to common codegen/box folder
...
^KT-61259
2024-01-16 20:15:25 +00:00
Pavel Kunyavskiy
2bf5a58a30
[Fir2Ir] Don't use FirSyntheticProperty as the cache key
...
^KT-64871
2024-01-16 19:14:52 +00:00
Vladimir Sukharev
be9805ea5e
[K2/N][Tests] Add test to demonstrate compiler behavior for ObjC properties intersection overrides
...
^KT-57640
2024-01-16 13:40:51 +00:00
Pavel Kunyavskiy
e6fd523431
[IrFakeOverrideBuilder] Consolidate visibility handling
...
Now fake overrides declarations invisible for override
are totally ignored by FakeOverrideBuilder, instead of
creating fake overrides for them, and than filtering them
out later.
As side-effect it fixes KT-64972.
^KT-64974
2024-01-16 13:35:16 +00:00
Vladimir Sukharev
5f51f5e1fc
[K/N] Migrate more cinterop tests
...
^KT-61259
2024-01-16 11:58:31 +00:00
Artem Kobzar
a55c65e3e2
[K/Wasm] Add simple TypeScript definitions generating ^KT-65009 Fixed
2024-01-16 11:10:27 +00:00
Sergej Jaskiewicz
ad9f7bf90e
[IR] Don't use the GET_PROPERTY origin on IrGetField expressions.
...
This origin was set somewhat arbitrarily.
It actually only makes sense for `IrCall`s to property getters.
There were no places in lowerings that checked `IrGetField` expressions
for this origin value.
^KT-62500 Fixed
2024-01-16 09:26:27 +00:00
Kirill Rakhman
8c04206709
Revert "[FIR] Let attributes opt-in to participating in ConeClassLikeTypeImpl structural equality"
...
This reverts commit 9189154cae .
2024-01-16 09:14:22 +01:00
Pavel Kunyavskiy
882dc18e0e
[IrActualizer] Don't copy attributeOwnerId in actualizer
...
In before, actualizer was copying attributeOwnerId to new
nodes. This leads to attributeOwnerId linked to non-actualized
node. It's unclear what it leads to, so we just stop doing that.
In particular, if attributeOwnerId references another node,
this information would be lost.
^KT-64895
2024-01-15 14:10:35 +00:00
Kirill Rakhman
9189154cae
[FIR] Let attributes opt-in to participating in ConeClassLikeTypeImpl structural equality
...
This is required for EnhancedTypeForWarningAttribute because scopes
should not be reused between cone types with different values of
this attribute.
#KT-63208
2024-01-15 12:23:26 +00:00
Igor Yakovlev
931cc48def
[Wasm/WASI] Implementation of a callback on root exported function exit
...
Fixed #KT-64486
2024-01-15 11:37:37 +00:00
Dmitriy Novozhilov
8300ad76d0
[FIR2IR] Remember overridden symbols if f/o contains error types
...
^KT-64837 Fixed
2024-01-12 15:32:25 +00:00
Dmitriy Novozhilov
a11705186f
[FIR2IR] Properly extract accessor symbols in FakeOverrideGenerator
...
^KT-64432 Fixed
2024-01-12 15:01:49 +00:00
Vladimir Sukharev
e7e825a6b9
[K/N][tests] Split test structAnonym.kt
...
^KT-61259
2024-01-11 23:30:07 +00:00
Vladimir Sukharev
2ec8e8cf63
[K/N][tests] Use own reference implementation of availableProcessors()
...
^KT-61259
2024-01-11 23:30:07 +00:00
Vladimir Sukharev
9f2558f640
[K/N][Tests] Patch package names also for .def files
...
To separate interop modules to different packages,
.def files should be treated similarly to .kt files:
1) package directive should be prepended with test-specific synthetic package,
or, if, absent, package directive with synthetic package should be added.
2) in .kt files, import directives and fully-qualified import from interop modules
should be prepended with same test-specific synthetic package.
2024-01-11 23:30:07 +00:00
Vladimir Sukharev
bf01cb16b4
[K/N][Tests] Migrate some cinterop tests to new infra
...
^KT-61259
2024-01-11 23:30:06 +00:00
Denis.Zharkov
72b0372927
K2: Allow PCLA inference when a value parameter has a TV type
...
^KT-64877 Fixed
2024-01-11 10:32:12 +00:00
Vladimir Sukharev
b78455093e
[K/N][Tests] Adapt test single_tls_load.kt to optional inline of EnterFrame
2024-01-10 23:31:00 +00:00
Vladimir Sukharev
86c88c0c77
[K/N][Tests] Ignore alwaysDisable test which fails without caches
...
^KT-64868
2024-01-10 23:31:00 +00:00
Vladimir Sukharev
fee2a20a55
[K/N][Tests] Support test directive ASSERTIONS_MODE
...
^KT-64844 Fixed
2024-01-10 23:31:00 +00:00