Sebastian Sellmair
7dbd5cd57f
[ObjCExport] Implement 'test - dispatchAndExtensionReceiverWithMustBeDocumentedAnnotation'
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
90632ad746
[ObjCExport] Implement isObjCObjectType util
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
e0383282b5
[ObjCExport] Implement isObjCBaseCallable util
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
b5bcfaa2e3
[ObjCExport] translateToObjCProtocol: Support building members
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
47273a3d58
[ObjCExport] Move MethodBridge to shared module (2/2)
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
8f7e409bd7
[ObjCExport] Move MethodBridge to shared module (1/2)
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
b78f185299
[ObjCExport] Remove unnecessary instances in favor of static methods
...
All state will later be stored inside the KtObjCExportSession
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
2f759243ba
[ObjCExport] Implement isVisibleInObjC util
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
66533141b8
[ObjCExport] Implement getSuperClassSymbolNotAny util
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
9909940b24
[ObjCExport] Implement rudimentary interface to ObjCProtocol translation
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
aa3fa9e8c5
[ObjCExport] Implement 'findKdocString' utility for Analysis Api
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
72f135396c
[ObjCExport] Extract generation of ObjC base declarations into shared code
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
aab9a606ce
[ObjCExport] Split ObjCExportHeaderGenerator and ObjCExportTranslator
...
KT-64226
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
74c39b149f
[ObjCExport] ObjCExportLazy: Get 'comment' from 'realStub'
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
1cb60a53d9
[ObjCExport] Cleanup misleading test name for 'functionWithMustBeDocumentedAnnotation'
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
7944a3dc4b
[ObjCExport] Document 'ObjCExportStubOrigin' factory special case
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
7ef62d1779
[ObjCExport] KtResolvedObjCNameAnnotation: Return null if ObjCName annotation is absent
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
98fda13523
[ObjCExport] Extract header generation to shared module
...
^KT-64227 Fixed
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
1440e66519
[ObjCExport] Fix 'MustBeDocumented' annotation missing on non value parameters
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
885a7dcd8f
[ObjCExport] Implement test - kdocWithBlockTags
...
FL-23390
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
e409c60780
[ObjCExport] Split ObjCExport into K1 and Analysis Api implementation
...
FL-23390
^KT-64168 Fixed
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
3e57265fcb
[ObjCExport] ObjCExportStub: Do not retain reference to descriptor
...
FL-23390
^KT-64076 Fixed
2024-01-08 15:25:19 +00:00
Sebastian Sellmair
e97463afb3
[ObjCExport][Minor] Reformat Code after move into newly created modules
...
FL-23390
2024-01-08 15:25:19 +00:00
Dmitriy Dolovov
e92017f64e
[KLIB Resolver] Deprecate Logger.fatal()
...
Invocation of Logger.fatal() may cause severe side effects such as
throwing an exception or even terminating the current JVM process
(check various implementations of this function for details).
The code that uses Logger.fatal() sometimes expects a particular kind
of side effect. This is totally a design flaw. And it's definitely not
a responsibility of Logger to influence the execution flow of
the program.
2024-01-08 13:26:24 +00:00
Vladimir Sukharev
35e5b0613d
[K/N] Migrate filecheck test redundant_safepoints to new infra
...
^KT-62157
2024-01-08 08:59:24 +00:00
Vladimir Sukharev
35b83a1225
[K/N][FIR] Do not emit CAST_NEVER_SUCCEEDS when casting to forward declarations
...
^KT-61841 Fixed
2024-01-08 08:57:42 +00:00
Pavel Kunyavskiy
f45d92eebc
[K/N, K/JS, K/WASM] Enable FakeOverrideRebuilder by default
...
While not beeing final solution, this is closer to what
we want to have in the end. Enabling on non-JVM targets
would help better testing.
Enabling in JVM is now not possible yet, as some of the bugs are
not fixed yet (check KT-61360 for details)
^KT-62476
2024-01-08 07:46:07 +00:00
Pavel Kunyavskiy
c6e32571d6
[FakeOverrideBuilder] Workaround KT-64743
...
Because of KT-64743 there is unexpanded type-alias in a place we don't
expect it to occur. To workaround this, we just expand typialiases in
one more place.
^KT-64743
2024-01-08 07:46:07 +00:00
Dmitrii Gridin
b6d373d8e5
Update copyright to 2024
2024-01-05 13:43:17 +00:00
Alexander Shabalin
3f2584bb02
[K/N] Move calls checker into separate module ^KT-62091
2024-01-05 13:35:35 +00:00
Vladimir Sukharev
55bff799a8
[K/N][tests] Split tests for Any.collectReferenceFieldValues
...
^KT-61259
2024-01-04 18:24:37 +00:00
Vladimir Sukharev
d972fec13c
[K/N][tests] Move tests into better places
...
^KT-61259
2024-01-04 18:24:37 +00:00
Vladimir Sukharev
e68bd1f04f
[K/N][tests] Adjust moved tests to new testing infra
...
^KT-61259
2024-01-04 18:24:37 +00:00
Vladimir Sukharev
0a0da76a56
[K/N][tests] Move some more native tests to new testing infra
...
^KT-61259
2024-01-04 18:24:37 +00:00
Pavel Kunyavskiy
4080776fe3
[Fir2IR] Set correct module descriptors for builtins
...
^KT-64420
2024-01-04 17:29:58 +00:00
Andrey Yastrebov
4176c50107
KT-63592 Create setupLLDBScript task
2024-01-03 10:29:18 +00:00
Vladimir Sukharev
5728b34733
[K/N][Tests] Ignore test klibName on LInux with caches
...
^KT-61259
2024-01-02 18:47:05 +00:00
Alexander Shabalin
d6a922bc74
[K/N][tests] Migrate link tests to new testing infra ^KT-61259
2024-01-02 18:47:05 +00:00
Igor Chevdar
94b35570ed
[K/N][tests] Added some tests on multi-module file initialization
2023-12-28 12:13:24 +00:00
Igor Chevdar
519c15419f
[K/N] Fixed a problem with dependencies
...
-Xinclude-library should be treated exactly as source files -
the final binary should depend on all of them.
#KT-64408 Fixed
2023-12-28 12:13:24 +00:00
Igor Chevdar
c35e026259
[K/N][tests] Moved several tests to proper location
2023-12-28 12:13:24 +00:00
cristiangarcia
5a1fb78fcd
Declare generated SourceSets correctly
...
Allow Gradle to keep the track of the task generating the sources
KTI-1502 Fixed
2023-12-24 00:01:59 +00:00
Kirill Rakhman
49ae1b8d01
[FIR2IR] Consolidate type approximation
...
This commit gets rid of the redundant typeApproximatorConfiguration
in Fir2IrTypeConverter and uses the type approximator for captured
types instead of the manual approximation used before.
This fixes the nullability of approximated captured types, which fixes
a runtime error in WASM.
This also brings K2 IR closer to K1 IR in one test.
#KT-64261 Fixed
2023-12-21 15:56:49 +00:00
Alexander Shabalin
0692346715
[K/N][tests] Fix new line handling in termination tests ^KT-61259
2023-12-21 14:55:21 +00:00
Kirill Rakhman
f47705f123
[Tests] Add box tests for #KT-59904
2023-12-21 12:03:48 +00:00
Alexander Shabalin
04a2a2d90d
[K/N][tests] Migrate termination runtime tests to new testing infra ^KT-61259
2023-12-20 18:24:06 +00:00
Alexander Shabalin
226ee3c367
[K/N][tests] Support OUTPUT_REGEX in new testing infra ^KT-61259
2023-12-20 18:24:05 +00:00
Vladimir Sukharev
85882413db
[K/N] Fix approach of expected failures caused by outputCheck fail.
...
`Expected failure flag` was wrongly included in list of test checks.
However, the nature of checks and this flag is different:
- any test check can pronounce the test as failed.
- `Expected failure flag` must invert the accumulated effect of all checks.
Having flag as an additional check cannot catch usecase,
when test is failed only by producing wrong stdout.
This commit extracts this flag out of check list.
^KT-59288
2023-12-20 07:15:35 +00:00
Vladimir Sukharev
bb8a7b6795
[K/N][Tests] Adjust moved tests interfaceCallsNCasts..vector to new infra
...
^KT-61259
2023-12-20 07:07:27 +00:00
Vladimir Sukharev
93642020ff
[K/N][Tests] Move codegen test sources interfaceCallsNCasts..vector
...
^KT-61259
2023-12-20 07:07:27 +00:00