Ilya Kirillov
725ae1fc65
[Analysis API] separate non-class error types from class error types and add information about type qualifiers
...
it's needed for type printing in renderer
2022-11-11 11:59:55 +01:00
Jinseong Jeon
2131cb4fe0
AA FIR: functional type for anonymous function
...
^KTIJ-17657 In progress
2022-11-11 10:15:44 +01:00
Dmitrii Gridin
871fd09e3f
[AA FIR] KtFirClassLikeSymbolPointer: replace lambda with regular class check
...
^KT-54311
2022-11-10 06:39:25 +00:00
Dmitrii Gridin
ab2edd40d4
[AA FIR] KtFirClassLikeSymbolPointer: mark as internal
...
^KT-54311
2022-11-10 06:39:25 +00:00
Dmitrii Gridin
41ebf5ed53
[AA] KtPsiBasedSymbolPointer: simplify test logic
...
^KT-54311
2022-11-10 06:39:24 +00:00
Dmitrii Gridin
b151ed3e65
[AA K2] drop redundant nested pointers for class like symbols
...
^KT-54311
2022-11-10 06:39:24 +00:00
Dmitrii Gridin
deafb75d0e
[AA K2] KtFirFunctionSymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:24 +00:00
Dmitrii Gridin
638eccac16
[AA K2] add missing resolve for signature creation
...
^KT-54311
2022-11-10 06:39:23 +00:00
Dmitrii Gridin
202a022b49
[AA K2] implement symbol pointers for value parameters
...
^KT-54311
2022-11-10 06:39:23 +00:00
Dmitrii Gridin
043e3e6840
[AA K2] implement symbol pointers for receiver parameter
...
^KT-54311
2022-11-10 06:39:23 +00:00
Dmitrii Gridin
48f7cdfaa1
[AA K2] implement symbol pointers for property accessors
...
^KT-54311
2022-11-10 06:39:22 +00:00
Dmitrii Gridin
32c38c0ae4
[AA K2] cleanup CanNotCreateSymbolPointerForLocalLibraryDeclarationException usages
...
^KT-54311
2022-11-10 06:39:22 +00:00
Dmitrii Gridin
731545573a
[AA K2] add more tests on java members
...
^KT-54311
2022-11-10 06:39:22 +00:00
Dmitrii Gridin
5e31c0b9b0
[AA K2] KtFirJavaSyntheticPropertySymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:21 +00:00
Dmitrii Gridin
864650c1c2
[AA K2] KtFirJavaFieldSymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:21 +00:00
Dmitrii Gridin
42f8e6fbe6
[AA] add more tests on java field symbols
...
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin
137deadee5
[AA K2] KtFirConstructorSymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin
5986a0d7b2
[AA K2] KtFirBackingFieldSymbolPointer: cleanup code
...
^KT-54311
2022-11-10 06:39:20 +00:00
Dmitrii Gridin
897a5b085d
[AA K2] implement symbol pointers for enum entry members without psi
...
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin
c6a3ca86eb
[AA K2] symbol pointers: add tests on enum entry
...
^KT-54311
2022-11-10 06:39:19 +00:00
Dmitrii Gridin
03fed7a47f
[AA K2] KtFirMemberSymbolPointer: drop redundant cast
...
to support KtEnumEntrySymbol
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin
9a418a7533
[AA K2] KtFirAnonymousObjectSymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin
bc3fcf22c4
[AA K2] reimplement symbol pointers for enum entry
...
^KT-54311
2022-11-10 06:39:18 +00:00
Dmitrii Gridin
9b6e9e2dd1
[AA K2] implement symbol pointers for type parameters
...
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin
7d1ac0ac97
[AA] AbstractSymbolTest: fix race
...
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin
47c9618b79
[AA K2] implement symbol pointers for type aliases
...
^KT-54311
2022-11-10 06:39:17 +00:00
Dmitrii Gridin
0808f4e233
[AA K2] implement symbol pointers for classes and objects
...
^KT-54311
2022-11-10 06:39:16 +00:00
Dmitrii Gridin
85072b0c96
[AA K2] KtFirMemberSymbolPointer: migrate owner to pointer
...
^KT-54311
2022-11-10 06:39:16 +00:00
Dmitrii Gridin
2ac85b96e5
[AA K2] KtFirKotlinPropertySymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin
f86c9be733
[AA K2] implement symbol pointer for top level properties
...
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin
01e1fc042c
[AA] KtFirKotlinPropertySymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:15 +00:00
Dmitrii Gridin
2888a3c2d2
[AA] KtFirFileSymbol: cleanup code
...
^KT-54311
2022-11-10 06:39:14 +00:00
Dmitrii Gridin
5eb0bfc180
[AA] SymbolPointerExceptions: cleanup code
...
^KT-54311
2022-11-10 06:39:14 +00:00
Dmitrii Gridin
4bd604f2ed
[AA] check symbol pointer restoring without psi anchor
...
^KT-54311
2022-11-10 06:39:14 +00:00
Jinseong Jeon
b2e239a542
AA: tests about equals on sealed/data class
...
^KT-54844 In Progress
2022-11-09 07:12:36 +01:00
Anna Kozlova
79bed083e6
[FIR] allow primary constructors in interfaces to support invalid code
...
KTIJ-23504
2022-11-08 14:51:33 +01:00
Bogdan Mukvich
fce8b877c8
Remove unused WriteCopyrightToFile gradle task
...
#KTI-758
2022-11-07 08:24:19 +00:00
Jinseong Jeon
4497be0b68
AA: do not parse signature with NO_NAME_PROVIDED
...
^KTIJ-23503 Fixed
2022-11-04 10:42:19 +01:00
Anna Kozlova
f18d1e9067
[Analysis API FIR] support call expression resolve in class literal
...
KTIJ-23272
2022-11-04 08:10:09 +01:00
Vladimir Dolzhenko
5dc2442872
Safe reporting PSI elements in KEWA
2022-11-03 17:27:11 +00:00
pyos
31eaa211b7
Add test for KT-54744
2022-11-03 13:33:09 +00:00
Jaebaek Seo
bb15a6425c
Add KDoc for KtWhenExpression.getMissingCases()
...
KtWhenExpression.getMissingCases() reports the same missing cases even
when the KtWhenExpression has an else branch. Without a description, it
is difficult to be aware of it.
2022-11-02 17:51:06 +00:00
Jinseong Jeon
7f6cad6fb3
FIR: ensure STATUS resolve phase before reading valueClassRepresentation
2022-11-02 18:04:38 +01:00
Jinseong Jeon
542ca68aba
AA: add test about PsiType for @JvmInline value class
2022-11-02 18:04:38 +01:00
Jinseong Jeon
c9a2e10dd7
AA: merge single/multi modules tests for PsiTypeProvider
...
...because single-module test is also multi-module test
2022-11-02 17:38:16 +01:00
Jinseong Jeon
d98081dce2
AA: introduce MPP tests for PsiTypeProvider
2022-11-02 17:38:16 +01:00
Jinseong Jeon
dc7506c40a
AA: utilize logic in PsiTypeProvider test
...
...to reuse them in upcoming multi-module tests
2022-11-02 17:38:15 +01:00
Jinseong Jeon
5bca3c6841
AA: rename test api for better clarification
...
Many sub tests are implementing the same name, doTestByFileStructure,
which indeed are based on the list of KtFile in a single module.
Rather, this one should be named after "ModuleStructure".
2022-11-02 17:38:15 +01:00
Roman Golyshev
c3031ccff5
[Analysis API] Use smart pointer to hold onto KtFile in ShortenCommand
...
It's a better approach, considering that we already
keep all the PSI element via smart pointers
2022-11-02 14:23:21 +00:00
Denis.Zharkov
82100a414f
FIR: Preserve K1 behavior for rawTypeValue ?: nothingTypedValue
...
It's been approximated to the non-raw version back then
^KT-54526 Fixed
2022-10-31 14:28:56 +00:00