Dmitriy Novozhilov
ecf4d7cbd1
[Build] Keep com.intellij.openapi.util.text.StringUtil in proguard rules
...
This class is required for test framework, so without new rule it's
impossible to use it outside of Kotlin project
2022-04-13 17:09:21 +00:00
Jinseong Jeon
6797ac7cf2
AA: populate index in factory, not provider
2022-04-13 16:03:52 +02:00
Jinseong Jeon
5b631bff4d
AA: populate index for declarations upfront
2022-04-13 16:03:51 +02:00
Jinseong Jeon
6a9ed82fdc
FIR/LC: restructure light identifiers
...
* introduced KtLightIdentifierBase so that both FIR LC and ULC share
basic implementations
* detach PsiCompiledElement as per KTIJ-21412,
while introducing KtLightIdentifierWithOrigin so that
UastLightIdentifier can still inherit origin computation logic
^KTIJ-21412 In Progress
2022-04-13 13:43:21 +02:00
Jinseong Jeon
daa17b433c
FIR LC: identifier is not compiled element
...
FIR LC uses KtLightClassForDecompiledDeclaration instead,
when it is asked to convert compiled element to light element.
Such decompiled declaration delegates things to Class stub, where
ClsIdentifierImpl, a subtype of PsiCompiledElement, will be used.
2022-04-13 13:43:20 +02:00
Jinseong Jeon
ef94582059
LC: use lazyPub to initialize identifier of parameter
2022-04-13 13:43:19 +02:00
Mikhail Glukhikh
815d1ad54b
Don't check KtIntersectionType in raw FIR testPsiConsistency
2022-04-13 14:34:59 +03:00
Kevin Bierhoff
9fe6e97cb8
Extensions for java.util.Optional (KT-50484)
...
Co-authored-by: Ilya Gorbunov <ilya.gorbunov@jetbrains.com >
2022-04-13 14:34:06 +03:00
Ilya Kirillov
ffdef50424
[symbol lc] actualize testdata for symbol LC tests
2022-04-13 12:53:30 +02:00
Ilya Kirillov
ab80dc680a
[analysis api] regenreate tests
2022-04-13 12:53:30 +02:00
Ilya Kirillov
eec61cfd07
[low level fir] handle jars in LLFitJavaFacadeForBinaries
2022-04-13 12:53:29 +02:00
Ilya Kirillov
a5c8a20b69
[fir] add detailed error messages for MultipleModuleDataProvider checks
2022-04-13 12:53:28 +02:00
Ilya Kirillov
0fa791e669
[low level fir] lazyly get KtSymbol for builtins
2022-04-13 12:53:28 +02:00
Ilya Kirillov
66df69ea2c
[low level fir, tests] temporary mute some tests with the latest full jdk
...
full jdk paths are not handled well after test infra rework
2022-04-13 12:53:27 +02:00
Ilya Kirillov
3bd892fe82
[analysis api fe10] provide a dummy implementation for KtFe10SymbolContainingDeclarationProvider.getContainingModule
...
to satisfy some tests
2022-04-13 12:53:26 +02:00
Ilya Kirillov
2cd0792e98
[analysis api, tests] actualize testdata with newly added getContainingModule
2022-04-13 12:53:25 +02:00
Ilya Kirillov
16470a2406
[analysis api] provide a function to get containing module for a KtSymbol
2022-04-13 12:53:24 +02:00
Ilya Kirillov
69a53bc742
[low level fir] use correct FirModuleData for declarations provided by FirJavaFacade
2022-04-13 12:53:23 +02:00
Ilya Kirillov
2649788b87
[analysis api fir] put every library into a separate KtModule in tests
2022-04-13 12:53:22 +02:00
Ilya Kirillov
252d8e283b
[low level fir] create separate FirModuleData for every library module dependency
2022-04-13 12:53:21 +02:00
Ilya Kirillov
e69fa1ae07
[analysis api, test] rework test infrastructure, add possibility to create multimodule tests
2022-04-13 12:53:19 +02:00
Ilya Kirillov
6831bde751
[analysis api fir, tests] update parameter names in testdata
2022-04-13 12:53:18 +02:00
Ilya Kirillov
207ca7eb08
[analysis api, tests] simplify tests
2022-04-13 12:53:17 +02:00
Ilya Kirillov
2506878063
[analysis api, tests] regenerate tests
2022-04-13 12:53:16 +02:00
Ilya Kirillov
329e495b63
[analysis api, tests] generate analysis api in a separate tests-gen folder
2022-04-13 12:53:14 +02:00
Ilya Kirillov
22918ac2f4
[analysis api, tests] generate standalone tests
2022-04-13 12:53:08 +02:00
Ilya Kirillov
037c50c26b
[analysis api, tests] move test classes to corresponding packages
2022-04-13 12:53:06 +02:00
Ilya Kirillov
78685e93d1
[analysis api, tests] move resolve call tests to separate package
2022-04-13 12:53:05 +02:00
Ilya Kirillov
8dd66dd338
[analysis api] regenerate tests
2022-04-13 12:53:04 +02:00
Ilya Kirillov
3b55585782
[tests] Fix file path in testdata
2022-04-13 12:53:03 +02:00
Ilya Kirillov
339a51fbc6
[low level api fir] unmute now passing tests
2022-04-13 12:53:02 +02:00
Ilya Kirillov
4bd7fed1ea
[analysis api, test] rework test infrastructure, add multimodule tests
2022-04-13 12:53:01 +02:00
Ilya Kirillov
1e5cf80278
[analysis api, refactoring] move base test cases to base modules, improve service names
2022-04-13 12:53:00 +02:00
Ilya Kirillov
443ee4c860
[analysis api] allow generating test with for with more possible parameters
2022-04-13 12:52:59 +02:00
Ilya Kirillov
12e0254918
[analysis api] simplify dependent analysis mode tests
2022-04-13 12:52:58 +02:00
Ilya Kirillov
3206c0ce87
[analysis api, refactoring] get rid of HL name in class names
2022-04-13 12:52:57 +02:00
Ilya Kirillov
3838552a75
[analysis api] move some test framework parts to a separate module
2022-04-13 12:52:55 +02:00
Sergey Bogolepov
19658b3a47
[K/N] Disable mutation checks if freezing is disabled
2022-04-13 10:51:37 +00:00
Jinseong Jeon
e72dc7d0c9
ULC: use special name for default setter parameter
...
to match the name appeared at LVT in compiler-generated JVM bytecode
2022-04-12 22:05:24 +02:00
Jinseong Jeon
2763b58cdd
RAW FIR: use special name for default setter parameter
...
FE1.0 descpritor, PSI2IR, and JVM IR backend use that.
FIR2IR is also using that, which implies name "value" in RAW FIR
maybe has not been used anywhere.
2022-04-12 22:05:22 +02:00
Ilya Gorbunov
3778b1fde1
Remove ExperimentalStdlibApi no longer required in tests
2022-04-12 15:03:42 +00:00
Ilya Gorbunov
e74a3eb0e9
Promote findAnnotations to Stable #KT-51470
2022-04-12 15:03:41 +00:00
Ilya Gorbunov
f3cf8cc13b
Hide subarrayContentToString in Native&Wasm
2022-04-12 15:03:40 +00:00
Ilya Gorbunov
1845e326d1
Hide deprecated Double/FloatArray.contains/indexOf/lastIndexOf
2022-04-12 15:03:40 +00:00
Ilya Gorbunov
b35c571a23
Remove deprecated sequence and iterator builders
...
They were originally provided for migration from experimental coroutines
#KT-26678
2022-04-12 15:03:39 +00:00
Ilya Gorbunov
2303730d57
Remove deprecated and not stabilized primitive unsigned iterators
2022-04-12 15:03:38 +00:00
Ilya Gorbunov
4598552e46
Promote Regex.matchAt and matchesAt to Stable #KT-51470
2022-04-12 15:03:37 +00:00
Ilya Goncharov
d62b01ef41
[JS] Update lock files
...
Merge-request: KT-MR-6073
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
2022-04-12 15:02:21 +00:00
Yahor Berdnikau
2c252f9231
Print in info level logs applied plugin variant
...
^KT-49227 Fixed
2022-04-12 14:48:49 +00:00
Yahor Berdnikau
e8774448ee
Allow to register specific variant implementations
...
Such way those implementations are accessible from the common code.
To avoid putting stub implementations in every variant, it is also
possible to add default implementation from the common code if variant
hasn't register own.
As an example of usage, support for removed in Gradle 7.0 'maven' plugin
was moved into 'main' variant (Gradle 6.7.1 - 6.9.3).
^KT-49227 In Progress
2022-04-12 14:48:48 +00:00