Nikolay Lunyak
98c7399a35
[FIR] Remove the redundant backing field check
...
This commit fixes a failing visibility check
(FirSymbolByPsiTestGenerated.testBackingField) for the backing field.
Merge-request: KT-MR-6389
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com >
2022-06-02 08:36:14 +00:00
Mikhail Glukhikh
a3db2e13b2
FE10 analysis API: render type parameter bounds as FIR does
2022-05-31 11:34:58 +00:00
Mikhail Glukhikh
8cb3081bbd
Analysis API: add KtReference..Provider to fix reference resolve in FE10
2022-05-31 11:34:56 +00:00
Mikhail Glukhikh
d67e910ee8
FE10 Analysis API: don't render override for deserialized
2022-05-31 11:34:55 +00:00
Mikhail Glukhikh
ef5cfab655
FE10 analysis API: don't count static members of final class as final
2022-05-31 11:34:53 +00:00
Mikhail Glukhikh
125de59e09
FE10 analysis API: create receiver parameter symbols for 'this'
2022-05-31 11:34:52 +00:00
Mikhail Glukhikh
d112ab3f17
FE10 analysis API: fix parentheses using while rendering receiver
2022-05-31 11:34:51 +00:00
Mikhail Glukhikh
564d179cfb
FE10 analysis API: fix flexible type pretty-printing
2022-05-31 11:34:50 +00:00
Mikhail Glukhikh
fa0faa33a5
FE10 analysis API: create package symbols properly
2022-05-31 11:34:49 +00:00
Mikhail Glukhikh
213445347d
Fix PsiType for local class in FE10 Analysis API
...
After this commit,
Fe10IdeNormalAnalysisSourceModuleAnalysisApiPsiTypeProviderTestGenerated
test group passes
2022-05-31 11:34:48 +00:00
Mikhail Glukhikh
ffc17bea55
Add SymbolLightClassFacadeCache to FE10 Analysis API configuration
2022-05-31 11:34:48 +00:00
Mikhail Glukhikh
8fce239209
Generate even more FE10 analysis API tests
2022-05-31 11:34:47 +00:00
Stanislav Erokhin
2deb0cc237
FIR/Analysis API: Add KtValueParameterSymbol#generatedPrimaryConstructorProperty
...
This property are used to allow access to the property created from
the primary constructor parameter
2022-05-30 18:39:21 +00:00
Ilya Kirillov
f189fd1ff0
[Analysis API] make KtDeclarationSymbol <: KtSymbolWithTypeParameters
...
To simplify work with type parameters
2022-05-27 16:39:37 +00:00
Jiaxiang Chen
866ebcfe2e
AA: make KtCallableSymbol a subtype of KtAnnotatedSymbol
2022-05-27 16:39:37 +00:00
Ilya Kirillov
500295da68
[references] move fe10 references implementation to another package
2022-05-27 15:37:40 +02:00
Ilya Kirillov
b511e449d2
[analysis api] temporary mute Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated
2022-05-27 15:37:39 +02:00
Tianyu Geng
010431e9e7
[Analysis API] Make a separate module for kt-reference-fe10
2022-05-27 15:37:37 +02:00
Tianyu Geng
19e9143bc1
[Analysis API] Move default annotation argument reference to kotlin repo
...
This reference is frontend-independent, so its implementation is placed
inside kt-references directly.
2022-05-27 15:37:36 +02:00
Tianyu Geng
a7c37286a3
[Analysis API] Move SyntheticPropertyAccessorReferenceDescriptorImpl
...
Also move some utilities from IDE to kotlin repo
2022-05-27 15:37:35 +02:00
Tianyu Geng
71a30b0c5e
[Analysis API] Move KDocReference to kotlin repo.
2022-05-27 15:37:34 +02:00
Tianyu Geng
0803ab0d0b
[Analysis API] Add KtFe10ReferenceResolutionHelper and ...
...
Make implementation of KtFe10XXXReference follow the old
descriptor-based implementation as closely as possible.
2022-05-27 15:37:33 +02:00
Tianyu Geng
b5139c958b
[Analysis API] Add KtReferenceMutateService...
...
and delegate renaming and rebinding to this new service for `KtReference`.
In addition, CliKtFe10XXXReference are all removed because it seems they are not necessary because the IDE flavor differs only by handling renaming, which is moved to a separate service.
2022-05-27 15:37:33 +02:00
Mikhail Glukhikh
49175f83aa
Analysis API FE10: fix delegated member rendering
...
After this commit,
Fe10IdeNormalAnalysisSourceModuleDelegateMemberScopeTestGenerated
passes properly
2022-05-25 12:04:59 +00:00
Mikhail Glukhikh
71b6151d51
KtFe10ScopeProvider: implement declared/delegated member scope
2022-05-25 12:04:58 +00:00
Mikhail Glukhikh
133f874351
Fix origin calculation in CliFe10AnalysisFacade
...
After this commit, all tests in
Fe10IdeNormalAnalysisSourceModuleFileScopeTestGenerated pass
2022-05-25 12:04:57 +00:00
Mikhail Glukhikh
b710b26bf5
Fix KtFe10DescKotlinPropertySymbol.isDelegatedProperty
2022-05-25 12:04:57 +00:00
Mikhail Glukhikh
b1d9b79712
KtFe10TypeRenderer: fix reflection & suspend type rendering
...
After this commit, all
Fe10IdeNormalAnalysisSourceModuleFunctionClassKindTestGenerated pass
2022-05-25 12:04:55 +00:00
Mikhail Glukhikh
049cab5207
Generate more FE10 analysis API tests
2022-05-25 12:04:54 +00:00
Ilya Kirillov
b5ad6f5db4
[analysis api] move analysis session classes to separate packages, use KtAnalysisApiInternals to mark internal API
2022-05-12 16:15:14 +02:00
Ilya Kirillov
eb9085c083
[analysis api] rename analyse -> analyze to match American word spelling
2022-05-12 16:15:13 +02:00
Ilya Kirillov
fe35204e9f
[analysis api] get rid of additional analyseWithCustomValidityToken
2022-05-12 16:15:11 +02:00
Jiaxiang Chen
7b038860b5
AA: add analyzeWithKtModule API for analyzing without KtElement
2022-05-12 16:15:03 +02:00
Ilya Kirillov
ef0160c026
[analysis api] rename ValidityToken -> KtLifetimeToken
2022-05-12 16:15:02 +02:00
Jinseong Jeon
61cca31b6b
AA: special handling for converted constants
2022-04-22 18:55:30 +02:00
Jinseong Jeon
faf6939515
AA: showcase strange const evaluation for -1
2022-04-22 18:55:30 +02:00
Jinseong Jeon
889db4cc5d
AA: indicate whether a value parameter is an implicit lambda parameter
...
^KTIJ-18800 In progress
2022-04-21 19:18:25 +02:00
Ilya Kirillov
3b4eb2d788
[kotlin fir] fix creating symbol not in analysis scope
...
^KTIJ-21504 fixed
2022-04-19 19:34:21 +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
2649788b87
[analysis api fir] put every library into a separate KtModule in tests
2022-04-13 12:53:22 +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
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
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