Jinseong Jeon
527fc68778
ULC: match value parameter name of enum's valueOf
2023-02-20 14:07:01 +01:00
Ilya Kirillov
b05a6e6e02
[Analysis API FE1.0] support multimodule tests for FE1.0 Analysis API
2023-02-20 11:01:32 +00:00
Ilya Kirillov
803c3b88ac
[Analysis API] fix exception on symbol restore when symbol cannot be seen from the use-site module
...
^KT-56763 fixed
2023-02-20 11:01:32 +00:00
Ilya Kirillov
ee1b018c9a
[Analysis API] introduce a helper test function to get carets at multimodal tests
2023-02-20 11:01:31 +00:00
Vladimir Sukharev
24696915f4
Use simplest way to split text to lines on all targets
...
Merge-request: KT-MR-8858
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-02-20 10:55:04 +00:00
Egor Kulikov
6bb71b44f6
[FIR] Use lazy constructor delegate even if there's no KtConstructor
...
Twelfth step for ^KT-52615
Merge-request: KT-MR-8895
Merged-by: Egor Kulikov <Egor.Kulikov@jetbrains.com >
2023-02-20 10:50:09 +00:00
Ilya Kirillov
477072b3e7
[Analysis API FIR] remove duplicated override of Fe10SyntheticPropertyAccessorReference.resolvesByNames
2023-02-20 10:28:56 +00:00
Ilya Kirillov
78d0749235
[Analysis API FIR] implement SyntheticPropertyAccessorReference.canBeReferenceTo for fir reference
...
it might improve find usages performance
^KTIJ-24696
2023-02-20 10:28:55 +00:00
Dmitriy Novozhilov
8d587322e9
Regenerate tests
2023-02-20 12:06:24 +02:00
Svyatoslav Scherbina
369ca6b4eb
[K/N][tests] Skip CachesAutoBuildTest when cacheMode == none
...
These tests rely on cacheMode != none.
2023-02-20 09:21:32 +00:00
Ilya Kirillov
6eda2742ff
[LL FIR] optimize time spent in LLFirSessionsCache.getSessions
...
The most time were spent in `PersistentMap.get`, replacement to regular hash map should help.
This is thread-safe as we safe-publish the value via the volatile field `mappings`
^KTIJ-24697 fixed
2023-02-20 09:09:16 +00:00
Dmitriy Novozhilov
e5b4cf9f04
[Test] Update serialization tests according to KT-56755
2023-02-20 08:40:34 +00:00
Dmitriy Novozhilov
ae7863518d
[Test] Mute tests due to KT-56508
2023-02-20 08:40:33 +00:00
Dmitriy Novozhilov
0d100cf114
[Test] Mute tests due to KT-53846
2023-02-20 08:40:33 +00:00
Dmitriy Novozhilov
49f15a16ce
[Test] Mute tests due to KT-56760
2023-02-20 08:40:32 +00:00
Dmitriy Novozhilov
7c84f9a7c2
[Test] Mute test due to KT-56759
2023-02-20 08:40:32 +00:00
Dmitriy Novozhilov
28b83a1a5d
[Test] Mute tests due to KT-56755
2023-02-20 08:40:32 +00:00
Dmitriy Novozhilov
86ee855170
[Test] Mute test due to KT-56756
2023-02-20 08:40:31 +00:00
Dmitriy Novozhilov
f47040696e
[Test] Introduce directive for ignoring codegen tests for FIR with LT
...
^KT-56757
2023-02-20 08:40:31 +00:00
Dmitriy Novozhilov
9ee60e4648
[Build] Exclude FIR codegen tests with PSI mode from aggregate test suite
...
Also add nightly configuration for them
2023-02-20 08:40:31 +00:00
Dmitriy Novozhilov
a7f62581a2
[FIR] Generate PSI and LT versions of all codegen tests
...
Also change default mode for codegen tests from PSI to LT
2023-02-20 08:40:30 +00:00
Dmitriy Novozhilov
5305e987b7
[Build] Drop duplicated fir test task
2023-02-20 08:40:29 +00:00
Dmitriy Novozhilov
25b1fbc541
[Build] Pin api and language level to 1.8 in :pill:pill-importer module
...
^KT-56687
2023-02-18 13:26:54 +00:00
Yahor Berdnikau
0cad069522
[Build] Pin api and language level to 1.8 in Kotlin compiler modules used by KGP
...
This is required to be able to compile KGP and it's dependencies which
set LV to 1.4 when repo will use LV 1.9. This caused by the change how
enums are compiled (KT-48872).
2023-02-18 13:26:54 +00:00
Dmitriy Novozhilov
4ab39b908e
[Build] Fix compilation of kotlinx-atomicfu-runtime in 1.9.0
...
^KT-56400
2023-02-18 13:26:53 +00:00
Artem Kobzar
d39fd9416a
[Build] Fix compilation of kotlin-js(-ir) libraries in 1.9.0 (stdlib and test)
2023-02-18 13:26:53 +00:00
Dmitriy Novozhilov
6d6c6f072b
[Build] Set language version in project to 1.9
2023-02-18 13:26:53 +00:00
Dmitriy Novozhilov
1422654470
[Build] Update version of binary-compatibility-validator to 0.13.0
...
0.12.0 was incompatible with kotlinx.metadata:0.6.0
2023-02-18 13:26:53 +00:00
Dmitriy Novozhilov
20610a7c89
[Build] Bump kotlinx.metadata version to 0.6.0
2023-02-18 13:26:51 +00:00
Ilya Goncharov
a4ce2ced6d
[Gradle, JS] Not sync files which are not changed
...
[Gradle, JS] Try to fix test in windows
[Gradle, JS] Support hierarchical sync compile
[Gradle, JS] Add test on syncing only changed files
[Gradle, JS] Use relative path instead of just name
^KT-56719 fixed
2023-02-17 14:36:45 +00:00
Ilya Kirillov
fbcaf3efeb
[Analysis API] add information about KtModule to reported exceptions
2023-02-17 14:19:09 +00:00
Ilya Kirillov
c37ee83791
[Analysis API] add more debug info to "pointer already disposed" error
2023-02-17 14:19:08 +00:00
Dmitriy Novozhilov
94faa759cb
[CLI] Rename -XdependsOn flag to -Xdepends-on to keep convention
...
^KT-56209
2023-02-17 14:09:30 +00:00
Alexander.Likhachev
18752fc1ad
Revert "[Build] Add a temporary workaround for KT-56357"
...
This reverts commit ca60a4fcf9 .
2023-02-17 15:03:53 +01:00
Alexander Udalov
b152600e35
IR: add flag to IrGenerationExtension for executing in kapt mode
...
#KT-56635 Fixed
2023-02-17 14:00:54 +00:00
Dmitrii Gridin
0eb90cccd1
[SLC] enum entries should be psi reference instead of psi expression
...
^KT-56728 Fixed
2023-02-17 13:11:14 +00:00
Dmitrii Gridin
e65c863f8c
[SLC] add test on single target annotation
...
^KT-56728
2023-02-17 13:11:14 +00:00
Sebastian Aigner
0e03fc265e
[Gradle][MPP] Include links on V2 MPP Source Set layout
...
^KT-56700 Fixed
2023-02-17 12:31:44 +00:00
Dmitriy Novozhilov
e70e85d51a
[FIR] Move unwrapSmartcastExpression util into :compiler:fir:tree module
2023-02-17 12:29:17 +00:00
Dmitriy Novozhilov
d52b52ff5c
[FIR] Drop unused ResolvedStatusCalculator class
2023-02-17 12:29:17 +00:00
Pavel Punegov
9ea299b0e7
[K/N][build] Fix Native plugin: remove archive file before adding
...
Merge-request: KT-MR-8783
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-02-17 11:28:41 +00:00
Dmitriy Novozhilov
86af01439c
[FIR] Allow to access uninitialized member properties in non-inPlace lambdas in class initialization
...
^KT-56696 Fixed
^KT-56408
2023-02-17 11:26:18 +00:00
Dmitriy Novozhilov
914acd841f
[FIR] Add special kind for graph of init blocks and local functions
2023-02-17 11:26:17 +00:00
Dmitriy Novozhilov
c87e489dc9
[FIR] Run CFA for member properties even if they have initializer
...
^KT-56678 Fixed
^KT-56682 Fixed
2023-02-17 11:26:17 +00:00
Dmitriy Novozhilov
de84cb8038
[Test] Don't compare descriptors dump if there is no expected .txt file
...
Descriptors dump has not much sense, because at this point diagnostic
tests for FE 1.0 mostly used only to compare diagnostics with FIR
2023-02-17 11:26:16 +00:00
Dmitriy Novozhilov
8ccd7c7d12
[FIR] Create context and scope for incremental compilation separately
...
Scope for incremental compilation refers to binaries from previous step
of IC. It is used not only in IC context itself, but also it is
subtracted from original libraries scope. Before previous commit there
was such scheme:
1. create incremental compilation context for files of specific session
2. subtract IC scope from main libraries scope
3. use updated libraries scope to create library session
4. create all needed source session(s)
So here was a side effect of creating new IC context, which
1. is smelling code, because it increases mind complexity
2. hard to implement with new session utilities
So to fix this problem this commit changes the scheme above:
1. create IC scope and modify libraries scope
2. create libraries session
3. create source session(s) and IC context for them
2023-02-17 11:08:51 +00:00
Dmitriy Novozhilov
79e4df72bf
[CLI] Introduce utilities for creating FirSession hierarchy in CLI for all platforms
...
Also support session creation and compilation for HMPP projects
^KT-56209 Fixed
2023-02-17 11:08:51 +00:00
Dmitriy Novozhilov
30ea4b6b53
[FIR2IR] Adapt IrActualizer to HMPP modules
...
Previously it collected actual declaration only from platform module
2023-02-17 11:08:51 +00:00
Dmitriy Novozhilov
d4bb740a62
[CLI] Store information about HMPP module for source files
2023-02-17 11:08:50 +00:00
Dmitriy Novozhilov
77caa31640
[CLI] Add CLI arguments to pass HMPP module structure to the compiler
...
^KT-56209
2023-02-17 11:08:50 +00:00