Anna Kozlova
b725cd3e6c
[light classes] match property with getter or setter only
...
^ KTIJ-26536
2023-08-09 07:09:35 +00:00
Dmitrii Gridin
b39286e6cb
[LL FIR] fix script testdata
...
Conflict with 887dc18719
2023-08-09 06:58:41 +00:00
Roman Golyshev
71a4f36faf
KTIJ-26576 [Analysis API] Add where clause to classHeaderParts in FirTowerDataContextAllElementsCollector
...
In `where` clause there are type constraints, and there are no
supertypes scopes at those positions
^KTIJ-26576 Fixed
2023-08-09 06:49:48 +00:00
Alexander Udalov
5b0c075c8d
Rework list of dependencies of kotlin-annotation-processing
2023-08-09 01:17:21 +00:00
Pavel Mikhailovskii
2002542ad2
Stub generation infrastructure (except for metadata generation) for KAPT+K2
...
This commit includes the basic Java stubs generation infrastructure and
the corresponding tests. The main entry point is called
Kapt4StubGenerator. Calls to it from production code will be added in a
separate commit.
#KT-51982
2023-08-09 01:17:21 +00:00
marat.akhin
ae4fab8483
[KMP] Allow matching expect ctorless final classes to objects
...
both directly and via typealias.
This is a possible fix to KT-59747
2023-08-08 23:18:35 +00:00
marat.akhin
6df9ce23f7
[FIR2IR] Configure Unit built-in to have kotlin.Any as a supertype
...
Without this change, the Unit type does not have Any members declared
in its scope which breaks the expect/actual mapping
(aka we cannot find actual `toString` for expect one).
2023-08-08 23:18:35 +00:00
Alexander Udalov
e87bccd5c7
K2: fix reporting of NO_REFLECTION_IN_CLASS_PATH on implicit invoke
...
#KT-61054 Fixed
2023-08-08 20:19:11 +00:00
Igor Yakovlev
87ab88957d
[Wasm] Fix wasm-target compiler key in gradle plugin
2023-08-08 18:35:31 +00:00
Ilya Goncharov
a3aa1f6121
[Gradle, Wasm] Add wasm wasi stdlib by default
2023-08-08 18:35:31 +00:00
Dmitrii Krasnov
b1a611e2b2
Fixed PartialLinkageMode resolving
...
#KT-60839
2023-08-08 18:28:32 +00:00
Yan Zhulanow
6fac185f14
[LL API] Add backend-computed code fragment mappings
2023-08-08 17:26:39 +00:00
Yan Zhulanow
5a67b0d7dc
[LL API] Correct used IR symbols in code fragments
...
As 'FirCodeFragments' are converted to IR independently of its context,
in some cases duplicate (and not quite correct) symbols for local
classes and functions are created.
Until properly fixed in fir2ir, here we replace such duplicates with
original symbols.
2023-08-08 17:26:39 +00:00
Yan Zhulanow
ee7e6b0fce
[LL API] Ignore local functions in 'CodeFragmentDeclarationCollector'
...
In the old JVM backend, local functions were compiled as JVM classes,
so there were an instance to pass around. Today, they are compiled to
static functions in the containing class/facade, and calls to them
compile natively.
2023-08-08 17:26:38 +00:00
Nikolay Lunyak
921db9f8d4
[FIR] Report UNSUPPORTED_SUSPEND_TEST
...
^KT-60002 Fixed
2023-08-08 16:48:02 +00:00
Igor Yakovlev
223e590dcd
[Wasm] Temporary task to provide wasm stdlib tests
2023-08-08 18:10:20 +02:00
Igor Yakovlev
a13e16cb77
[Wasm] Unmute passing tests
2023-08-08 18:10:20 +02:00
Igor Yakovlev
5d7781c40a
[Wasm] Update node.js version to 20.2.0
2023-08-08 18:10:20 +02:00
Igor Yakovlev
983991d46c
[Wasm] Add box and stdlib tests in wasi mode
2023-08-08 18:10:19 +02:00
Igor Yakovlev
f42d0b1ed4
[Wasm] Add wasi kotlin.test target gradle buildscript
2023-08-08 18:10:19 +02:00
Igor Yakovlev
d1c7caf15c
[Wasm] Add wasi stdlib target gradle buildscript
...
KT-56608
2023-08-08 18:10:19 +02:00
Igor Yakovlev
18a9c1916e
[Wasm] Wasi kotlin.test implementation
2023-08-08 18:10:19 +02:00
Igor Yakovlev
8cc0660693
[Wasm] Wasi stdlib implementation
...
KT-56608
2023-08-08 18:10:19 +02:00
Igor Yakovlev
090f393f97
[Wasm] Make std internal functions have a bodies
2023-08-08 18:10:19 +02:00
Igor Yakovlev
60d35200f6
[Wasm] Wasi frontend diagnostics
2023-08-08 18:10:19 +02:00
Igor Yakovlev
98329f30f8
[Wasm] Rename wasm initialize function
2023-08-08 18:10:19 +02:00
Artem Kobzar
a29fa428b3
[K/JS] Add warning for ES-modules on the klibgen stage on the uniqueness of the exported names from the module
2023-08-08 15:45:02 +00:00
Dmitrii Gridin
734a3e5716
[LL FIR] do not create lazy bodies during on-air resolve in scripts
...
We assume that on-air resolve already has normal bodies,
so depending on this fact, we can omit some redundant work
^KT-61026 Fixed
2023-08-08 15:40:48 +00:00
Dmitrii Gridin
601ffb2db4
[LL FIR] transform script body properly
...
Problem: transformSingle for expressions can return another expression,
and we should replace the original one with such new expression
^KT-61011 Fixed
^KT-61009 Fixed
2023-08-08 15:40:47 +00:00
Aleksei.Glushko
0a09d1e140
[K/N] Use ptr-sized types in objc_firendly_dealloc tests
...
Merge-request: KT-MR-11525
Merged-by: Alexey Glushko <aleksei.glushko@jetbrains.com >
2023-08-08 15:38:36 +00:00
Ilya Gorbunov
0072189fb1
[stdlib-mpp] Configure SBOM for published artifacts KT-53791
2023-08-08 12:32:18 +00:00
Dmitrii Gridin
2688398361
[FIR] FirTypeUtils: add debug info
2023-08-08 12:04:46 +00:00
Dmitrii Gridin
55a253db04
[AA FIR] KtFirExpressionTypeProvider: add debug info
2023-08-08 12:04:46 +00:00
Alexander Udalov
4af1970b28
Build: allow empty build cache url to disable it
2023-08-08 11:25:20 +00:00
Nikolay Lunyak
71cc634a7c
[FIR] Prevent missing diagnostics on free lambdas
...
The change in `FirPsiDiagnosticTestGenerated.Resolve#testCast`
only highlights the existing
problem that we don't assign a
valid type to `_`.
^KT-58906 Fixed
2023-08-08 11:00:04 +00:00
Igor Chevdar
9a719066e3
[K/N][tests] Added a reproducer for #KT-60371
2023-08-08 10:10:47 +00:00
Igor Chevdar
2f463f740f
[K/N][tests] Fixed CachesAutoBuildTest & IncrementalCompilationTest
...
In auto-cache mode, the compiler itself chooses the system cache directory,
and it is important to not pass it explicitly.
2023-08-08 10:10:47 +00:00
Dmitriy Dolovov
3b626ea97c
[Commonizer] Replace ResettableClockMark by TimeSource.Monotonic
2023-08-08 09:40:18 +00:00
Kirill Rakhman
09f895efe6
[FIR] Implement VERSION_REQUIREMENT_DEPRECATION diagnostics
2023-08-08 09:28:08 +00:00
Kirill Rakhman
65ea9697ab
[FIR] Let DeprecationsProvider.getDeprecationsInfo accept LanguageVersionSettings
2023-08-08 09:28:08 +00:00
Margarita Bobova
62b7760c92
Verification metadata: temporary allow 1.9.20 and 1.9.30 version
2023-08-08 09:12:16 +00:00
Abduqodiri Qurbonzoda
21619264d0
[K/N] Add a note to Regex documentation about future changes of behavior
...
This note will allow us to fix https://youtrack.jetbrains.com/issue/KT-58198/Native-Regex-issues in the future.
Co-authored-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
Merge-request: KT-MR-11387
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-08-08 08:21:10 +00:00
Kirill Rakhman
8ae751926c
[FIR] Let OptIn LV checker only run on last module in HMPP compilation
...
This fixes an issue where the opt-in annotation is defined in one of the
source sets of the compilation but opt-ins are defined for the whole
compilation which leads to false-positive "Opt-in requirement marker is
unresolved" in (e.g. common) source sets that don't have a dependency on
the module that contains the annotation.
#KT-60755 Fixed
2023-08-08 07:57:56 +00:00
Nataliya.Valtman
2719dd188f
Added build metrics for Kotlin/Native tasks
...
#KT-58315 Fixed
Co-authored-by: Nataliya Valtman <Nataliya.Valtman@jetbrains.com >
Merge-request: KT-MR-11343
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com >
2023-08-08 07:43:18 +00:00
Ivan Kylchik
7cbf3b28ca
[K2] Properly serialize annotation that has vararg with single argument
...
#KT-60163 Fixed
2023-08-08 07:01:48 +00:00
Sebastian Sellmair
8ff2782045
[Gradle] Promote val Project.kotlinToolingVersion
...
^KT-61034 Verification Pending
2023-08-08 06:50:01 +00:00
Timofey Solonin
d2728e0baf
Advance bootstrap to 1.9.20-dev-9102
2023-08-08 04:12:08 +00:00
Alexander Udalov
cceb138c6c
Stdlib: do not check radix twice in Byte/Short.toString
...
`checkRadix` is already called in `Int.toString`.
2023-08-07 21:47:10 +00:00
Yan Zhulanow
a064db8da6
[LL API] Add some more 'ContextCollector' tests
2023-08-07 16:22:03 +00:00
Yan Zhulanow
6c26aeeb97
[LL API] Check declaration resolution status in 'ContextCollector' tests
2023-08-07 16:22:03 +00:00