Dmitrii Gridin
54aee57fec
[LC] preserve type annotations from wildcard bound
...
^KT-66603
2024-03-19 13:57:23 +00:00
Dmitrii Gridin
3c8a95e623
[LC] render all type annotations in tests
...
^KT-66603
2024-03-19 13:57:23 +00:00
Jinseong Jeon
09f384d96e
FIR: assure annotation argument mapping is ready
...
^KT-66223 fixed
2024-03-07 10:17:01 +00:00
Jinseong Jeon
afd20b0c2d
SLC: honor wildcard suppression on declarations
...
^KT-61734 fixed
2024-03-07 10:17:00 +00:00
Dmitrii Gridin
af5f76048b
[SLC] AbstractSymbolLightClassesByPsiTest: add more stable order
...
Now more diff between sources and libraries are readable.
Also prefer .descriptors to .fir as FIR is a first-class support
^KT-62892
2024-01-03 21:35:12 +00:00
Dmitrii Gridin
ecb808992d
[SLC] add more tests on vararg
...
^KT-61422
2023-09-11 15:47:47 +00:00
Dmitrii Gridin
2f8a64fff2
[AA FIR] fix exception from vararg parameter with invalid type
...
It is true that for vararg parameter `arrayElementType` always have to
be not null, but it required resolution to TYPES phase. But in case of
the error type, the type reference is treated as resolved, so we are not
obligatory to resolve such reference to TYPES, because we already have
the resolved type.
So we can make the rule of KtFirValueParameterSymbol#returnType less
strict, and varargElementType will effectively do the same as
lazy resolve + arrayElementType
^KT-61422 Fixed
2023-08-23 20:05:18 +02:00
Jinseong Jeon
5d7ac18778
SLC: drop the assertion that class context shouldn't be null
...
...because it can be null if an anonymous object is returned as a value
of reified inline function, which isn't materialized as LC element.
^KT-59537 Fixed
2023-06-23 10:33:58 +00:00
Pavel Mikhailovskii
25c0725da9
[SLC] Treat error class types as not-nullable
2023-05-11 11:48:45 +00:00
Jinseong Jeon
91925b947d
SLC: fix visibility of lateinit var
...
^KT-57569 Fixed
2023-03-31 12:21:15 +00:00
Pavel Mikhailovskii
85b5a4521e
KT-56843 [SLC] Support unsafe property initializers
2023-03-28 08:17:37 +00:00
Pavel Mikhailovskii
0f589dac34
KT-56833 [SLC] Mark accessors of lateinit properties with @NotNull
2023-03-14 12:45:57 +00:00
Dmitrii Gridin
8c757e36ea
[SLC] provide correct parent for annotations on type
...
The first step of KT-56870
^KT-56613
^KT-56870
2023-03-01 10:43:00 +00:00
Pavel Mikhailovskii
492a161d2c
KT-56842 [SLC] Don't mark primitive context receiver parameters with @NotNull
2023-02-22 10:15:19 +00:00
Pavel Mikhailovskii
de1927abb6
KT-56835 [SLC] Mark property$delegate fields as final and @NotNull
2023-02-22 09:40:32 +00:00
Dmitrii Gridin
2edb03a994
[LC] fix multifile testData
...
^KT-56046
2023-02-03 19:49:02 +00:00
Dmitrii Gridin
f32483000a
[AA FIR] KtFirAnnotationListForDeclaration: avoid resolve on creation
2023-01-19 10:53:02 +00:00
Dmitriy Novozhilov
faa96ec7c0
[AA LC] Don't create light methods if value class is present in signature
...
^KT-55788
Test `parameter_jvmInline.kt` is removed because now members with value
classes are not included in light classes and don't have PSI representation
2023-01-12 17:45:10 +00:00
Dmitriy Novozhilov
d5a76a1b3b
[AA LC] Keep original qualifier while translating error cone types to Psi types
2023-01-12 17:45:08 +00:00
Dmitriy Novozhilov
a3b9f15ecc
[AA LC] Create proper Psi types for types with errors inside
2023-01-12 17:45:08 +00:00
Dmitrii Gridin
461682a797
[LC] createField: avoid body resolve in case of psi declaration
2023-01-06 21:09:40 +00:00
Vladimir Dolzhenko
511e05adec
Fix test data
...
Test data had to be adjusted together with a main change
#KTIJ-912
2023-01-03 11:46:20 +00:00
Dmitrii Gridin
251a4363f5
[LC][tests] drop outdated '//RELEASE_COROUTINE_NEEDED' directive
2023-01-02 15:05:44 +00:00
Dmitrii Gridin
7196d0d809
[LC] AbstractSymbolLightClassesLoadingTest: sort classes by name
2023-01-02 15:05:44 +00:00
Dmitrii Gridin
2e2e633113
[LC] fix PsiClassRenderer
2023-01-02 15:05:43 +00:00
Dmitrii Gridin
86bb9eeebc
[LC] fix ULC testData
2023-01-02 15:05:43 +00:00
Dmitrii Gridin
7096fc1416
[LC] drop outdated 'CHECK_BY_JAVA_FILE' directive
2023-01-02 15:05:42 +00:00
Dmitrii Gridin
3e36e51920
[LC] merge ultraLightFacades tests to lightClassByPsi
2023-01-02 15:05:42 +00:00