Mikhail Glukhikh
37b95972db
Uncomment warning about -Xopt-in deprecation
2021-10-26 13:38:40 +03:00
Svyatoslav Scherbina
99447a11c1
Native: fix ^KT-49384
...
Don't report errors for projections in nested type arguments of
SAM conversion target types.
2021-10-26 10:12:30 +00:00
Svyatoslav Scherbina
65bea27431
Native: add test for ^KT-48876
...
The issue itself was already fixed in 981a6ffe .
2021-10-26 10:10:26 +00:00
Pavel Kunyavskiy
172373c57e
[K/N] Add tests for flexible arrays in interop
...
^KT-48074
2021-10-19 13:45:00 +00:00
Sergey Bogolepov
8d2234b37a
Add a test for KT-49212
2021-10-18 07:19:11 +00:00
Igor Chevdar
f1c1094393
[K/N][optmz] Fix for https://youtrack.jetbrains.com/issue/KT-49234
2021-10-15 14:08:17 +00:00
Pavel Kunyavskiy
533eb589cb
[K/N] Add tests for static initialisation of ConstantValues
2021-10-14 11:22:28 +00:00
Pavel Kunyavskiy
504d72011b
[K/N] Transform FunctionReference without bound values to ConstantValue
2021-10-14 11:22:26 +00:00
Pavel Kunyavskiy
0bd4dbc0c1
[K/N] Disable debug info in runtime by default
...
Bundle grows 200mb if debug info is enabled, it's too much.
But probably, this can be useful for debug, so we need gradle option.
2021-10-11 11:45:24 +00:00
Pavel Kunyavskiy
5a4a78f2c6
[K/N] Throw exception on abstract class instantiation in ObjC
2021-10-08 11:39:43 +00:00
Pavel Kunyavskiy
68445deae8
[K/N] Forbid calling sealed class constructor from objc
2021-10-08 11:39:42 +00:00
Elena Lepilkina
6bfa710e34
[K/N][tests] Added test for @ character in library name
2021-10-06 09:34:55 +00:00
Elena Lepilkina
416719c216
[KLIB] Removed support of pattern '<library_name>@<version>' (KT-42500 Fixed)
2021-10-06 09:34:55 +00:00
Sergey Bogolepov
c9a0369805
[K/N] Add StubGenerator tests to sanity
2021-10-06 04:40:07 +00:00
Igor Chevdar
e64140af08
Added a test on unsigned arrays
2021-10-04 06:12:22 +00:00
Sergey Bogolepov
b9bb56d9c6
[K/N] FileCheck-based tests
...
Introduce a simple infrastructure for testing produced bitcode with
FileCheck LLVM utility.
^KT-48925
2021-10-01 14:18:01 +00:00
Abduqodiri Qurbonzoda
dc2f5eab25
Align JS and JVM behavior of Regex replace function #KT-28378
2021-09-30 17:38:03 +00:00
Pavel Kunyavskiy
9f2035c43d
[K/N] Don't assume all apple target support CoreSymbolication
2021-09-29 07:00:07 +00:00
Vyacheslav Gerasimov
2d06cf674b
Build: Fix usages of deprecated convention in kotlin-native
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Alexander Shabalin
da25e1bf21
[K/N] Enable a missing test
2021-09-23 12:57:29 +00:00
Ilya Matveev
f93d5604aa
[K/N] Warn if the inferred main package of a framework is root
2021-09-21 09:26:54 +00:00
Ilya Matveev
bfe336b0db
[K/N] Add an option to specify a bundle ID of a produced framework
2021-09-21 09:26:54 +00:00
Ilya Matveev
0dd41eea19
[K/N] Add test for framework's bundle ID
2021-09-21 09:26:52 +00:00
Abduqodiri Qurbonzoda
93833f7db2
Advance K/N StringBuilder.appendln() deprecation level to ERROR #KT-38754
2021-09-20 15:25:53 +03:00
Pavel Kunyavskiy
c704fd6ae7
[K/N] Support stacktrace using libbacktrace
2021-09-20 11:28:08 +00:00
Abduqodiri Qurbonzoda
718965227e
Advance deprecation level of K/N StringBuilder renamed functions to ERROR #KT-46101
2021-09-16 19:45:04 +03:00
Igor Chevdar
e194a07358
[tests] Added some tests
2021-09-16 10:54:14 +00:00
Svyatoslav Scherbina
b32ab48596
Native: add tests for autorelease optimization in ObjCExport
...
The compiler should do its best to avoid putting objects to autorelease
pools.
2021-09-15 11:48:17 +00:00
Svyatoslav Scherbina
ae349846e1
Native: support writing unit tests for Interop/Indexer
2021-09-14 10:42:16 +00:00
Igor Chevdar
23a02be169
[K/N][IR] Fix for https://youtrack.jetbrains.com/issue/KT-48527
2021-09-13 16:41:37 +05:00
Pavel Kunyavskiy
51c85e7f86
[K/N] Safer handling of bridges function in dce
2021-09-10 15:58:42 +00:00
Mikhail Glukhikh
3febabe977
Use OPT_IN instead of EXPERIMENTAL in diagnostic names
2021-09-10 16:29:13 +03:00
Vladimir Ivanov
8ba164163c
[K/N] cinterop: ignore CXIdxEntity_CXXClass in ObjC header
...
Unexpected behavior is caused by `@class` declaration in ObjC context.
This entity is not used in CPP context either.
2021-09-09 09:37:05 +00:00
Mikhail Glukhikh
ffbd574a08
Use -opt-in instead of -Xopt-in in comments and scripts
2021-09-08 23:43:55 +03:00
Elena Lepilkina
cb067e160b
[K/N] Updated RSS limit for new version of mimalloc
2021-09-08 13:53:18 +00:00
Igor Chevdar
e67a78abaf
[K/N][codegen] Fix for https://youtrack.jetbrains.com/issue/KT-48543
...
Sometimes an interface contains final methods, they shouldn't be in its itable
cause they can't be called virtually
2021-09-07 12:04:26 +05:00
Abduqodiri Qurbonzoda
97eb28144f
Introduce Common readln() and readlnOrNull() top-level functions #KT-48456
2021-09-05 15:31:11 +00:00
Dmitriy Dolovov
df208dc060
[Native][tests] Fix failing 'interop_objc_smoke_noopgc' test
2021-09-03 14:53:10 +03:00
Ilya Matveev
ce377e4a33
[K/N][tests] Enable dynamic tests for targets other than hosts
2021-09-03 06:11:10 +00:00
Pavel Kunyavskiy
98e4d67900
[K/N] Add opt-in flag to use debug info from native libs
...
Unfortunately, llvm removes full debug info from module on any error.
Different version debug info in bitcode is not always compatible, also
it adds this debug info additional requirements on generated debug info.
So this feature is quite unstable and shouldn't be enabled by default,
although it has almost no downsides when worked correctly.
2021-09-01 08:35:21 +00:00
Pavel Kunyavskiy
7f988bd442
[K/N] Refactor function generation to make it more debug-info friendly
2021-09-01 08:35:19 +00:00
Dmitriy Dolovov
b506704a2b
[Native][tests] Fix failing 'runtime_basic_init' test
...
This test should have it's own test data file.
Previously it used 'hello3.kt' test data file shared with 'hello3' test which uses golden data. This caused a conflict.
2021-09-01 10:14:17 +03:00
Dmitriy Dolovov
bf82db5ee2
[Native][tests] Move input data outside of Gradle build file
2021-09-01 10:14:06 +03:00
Dmitriy Dolovov
1a863106e6
[Native][tests] Move golden data outside of Gradle build file
2021-09-01 10:14:01 +03:00
Dmitriy Dolovov
c2e2d3a43e
[Native][tests] workers5 - remove redundant test annotations
2021-09-01 10:13:55 +03:00
Dmitriy Dolovov
51f30ed995
[Native][tests] localDelegatedPropertyLink - don't use golden data
2021-09-01 10:13:50 +03:00
Sergey Bogolepov
d4c91c96d3
[K/N] Fix objc_acr_contract test in two_stage mode
2021-08-31 12:52:42 +00:00
Sergey Bogolepov
587146679d
[K/N] Add tests for -Xbinary=freezing=...
2021-08-30 12:33:04 +00:00
Igor Chevdar
ce44403d1b
[K/N][IR][codegen] Made lazy init logic JVM-like
...
Now a file will be initialized only if a top level function has been called
rather than any function like was before the commit
2021-08-27 18:22:52 +05:00