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
Denis.Zharkov
52eb535a7d
FIR: Use platform specific overridability rules for platform members
...
^KT-54570 Fixed
2022-10-31 14:28:55 +00:00
Denis.Zharkov
1e368bcd86
FIR: Allow to skip specifying type arguments for members from raw type
...
^KT-54666 Fixed
^KT-54526 Related
2022-10-31 14:28:54 +00:00
Denis.Zharkov
c0e0900344
FIR: Preserve K1 behavior for synthetic properties on raw type
...
^KT-54502 Fixed
2022-10-31 14:28:53 +00:00
Denis.Zharkov
5cc31114cd
FIR: Support special scope for raw types
...
^KT-46369 Fixed
^KT-41794 Fixed
^KT-49351 Fixed
2022-10-31 14:28:50 +00:00
Pavel Mikhailovskii
1215ae0fe7
KT-1436 Nicer compiler errors when the feature isn't supported
2022-10-31 13:49:57 +00:00
Jinseong Jeon
8d8d0d9922
SLC: add marker interface for collection inheritor
2022-10-27 14:41:24 +02:00
Dmitriy Novozhilov
bc9bc26cc8
[Test] Add test for KT-54668
2022-10-27 11:08:56 +00:00
Dmitriy Novozhilov
6bc952adff
[Test] Add test for KT-54663
2022-10-27 11:08:56 +00:00
Dmitriy Novozhilov
1927369ae9
[Test] Add test for KT-54662
2022-10-27 11:08:55 +00:00
aleksandrina-streltsova
29502ba126
[Analysis API FIR] add check for public api
2022-10-27 06:22:37 +00:00
Ilya Kirillov
7766362ff1
[Analysis API] render full symbol in generatedPrimaryConstructorProperty in DebugSymbolRenderer
2022-10-26 19:19:04 +00:00
Ilya Kirillov
e2416f48fe
[Analysis API] add tests for containing declaration for delegated member scope
2022-10-26 19:19:04 +00:00
Ilya Kirillov
f5432127d1
[Analysis API FE1.0] fix containing module for some cases
2022-10-26 19:19:03 +00:00
Ilya Kirillov
59beeb36be
[Analysis API FE1.0] fix "descriptor not found" exception on getting dispatch receiver type
2022-10-26 19:19:03 +00:00
Ilya Kirillov
4bb32f4634
[Analysis API] render extra debug information for nested symbols if renders for outers
2022-10-26 19:19:02 +00:00
Ilya Kirillov
85effcc1b3
[Analysis API] do not fully print property symbols in tests
2022-10-26 19:19:02 +00:00
Ilya Kirillov
3bc19fa2c7
[Analysis API] change return type of KtScope.getAllSymbols to KtDeclaration symbol as it always returns callable or classifier
2022-10-26 19:19:02 +00:00
Ilya Kirillov
98e665a652
[Analysis API] fix symbol kind for KtTypeAliasSymbol
...
they can be non-toplevel
2022-10-26 19:19:01 +00:00
Ilya Kirillov
3ea29e42b9
[Analysis API] consider KtClassInitializerSymbol to be KtDeclarationSymbol
2022-10-26 19:19:01 +00:00
Ilya Kirillov
97df0a0902
[Analysis API] rework containing declaration provider
...
now it should work for non-source declarations
2022-10-26 19:19:00 +00:00
Mikhail Glukhikh
8e48636b29
K1: don't report assignment TYPE_MISMATCH in BI under feature ON
...
Related to KT-54004
2022-10-26 09:21:48 +00:00
Mikhail Glukhikh
80fa765333
K1: introduce synthetic assignment checker with deprecation for KT-54305
...
#KT-54305 Fixed
Related to KT-54309
2022-10-25 12:33:09 +00:00
Mikhail Glukhikh
7bd512fbb3
FE: add test for KT-54305
2022-10-25 12:33:08 +00:00
Johan Bay
9f3d8130db
Remove unnecessary deprecation annotation
...
Private members on private companion objects have proper visibility
so there is no need for the @Deprecated annotation.
^KT-54539 Fixed
2022-10-25 14:03:11 +02:00
Jinseong Jeon
14213ddad2
AA: fix expected type for lambda with explicit label
2022-10-24 22:07:05 +02:00