Victor Petukhov
c16ae81a48
[FIR] Report errors for upper bounded type variables by an empty intersection type
...
^KT-51221 Fixed
2022-04-27 19:50:21 +00:00
Victor Petukhov
8e834fc7bb
[FIR] Move subtyping helpers into TypeUtils.kt
2022-04-27 19:50:17 +00:00
Ilya Kirillov
34c855b450
[decompiler] add missing cache to annotation loader
...
it was missed during moving the code from intellij repository
^KTIJ-21613 fixed
2022-04-25 10:32:02 +02:00
Jinseong Jeon
af21b67eb5
LL: cache reverse converted constant expression
2022-04-22 18:55:31 +02:00
Jinseong Jeon
7e8c893ce1
LL: showcase converted constants in raw FIR
2022-04-22 18:55:30 +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
Roman Golyshev
ea8a05ec02
[FIR IDE] Small refactoring of KtSymbol's value parameters
2022-04-21 21:12:57 +00:00
Roman Golyshev
1d5cb8ab75
[FIR] Get FirSession from declaration in ReturnTypeCalculatorWithJump
...
If the session is from the other module, it might not know about
FirFiles which are relevant for transforming and resolving the
declaration
^KT-52136 Fixed
2022-04-21 19:23:20 +00: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
Jinseong Jeon
a74a51b2d9
AA: add tests about resolution of implicit lambda parameter
2022-04-21 19:18:24 +02:00
Mikhail Glukhikh
f65364b191
FIR: add test for #KT-49438 Obsolete
2022-04-20 22:31:54 +03:00
Vyacheslav Gerasimov
c8f2872a07
Fix flaky FIR tests
...
failing with 'Jar with annotations does not exist. Please run
:plugins:fir-plugin-prototype:plugin-annotations:jar'
2022-04-20 12:54:08 +03:00
Ilya Kirillov
207f2c7981
[symbol fir] add small performance optimization for checkIsInheritor
2022-04-19 23:58:12 +02:00
Ilya Kirillov
cff576844e
[symbol fir] fix checkIsInheritor in LC
...
^KT-51240 fixed
2022-04-19 23:58:11 +02:00
Alexander Udalov
ef6d30dd51
Remove usages of JVM target 1.6 from compiler tests
...
#KT-45165
2022-04-19 22:54:40 +02:00
Ilya Kirillov
ee8de63497
[low level api] fix creating libraries session with non-jvm libraries
2022-04-19 19:42:11 +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
3525ddaf12
[analysis api fir] fix resolving of compiled type alias
...
^KT-50868 fixed
2022-04-19 12:57:28 +00:00
Ilya Kirillov
9a562a0293
[analysis api] optimize search for declarations in IDE
2022-04-19 12:37:49 +02:00
Ilya Kirillov
7420933bff
[low level api] remove unused code
2022-04-19 12:37:48 +02:00
Ilya Kirillov
9a18598606
[low level api] rework components structure, add ScopeSession caches
2022-04-19 12:37:47 +02:00
Ivan Kochurkin
3b8183a736
[FIR] Support of importing optional annotation classes (JS/Native), ^KT-51757 Fixed
2022-04-18 15:36:21 +00:00
Ivan Kochurkin
541fba1531
[FIR] Type argument instead of unexpected type parameter for TypeMismatch error
...
^KT-49035
^KT-51201 Fixed
2022-04-18 15:36:20 +00:00
Ivan Kochurkin
8c7fad9a5e
[FIR] Support of type arguments in annotations ^KT-48444 Fixed
2022-04-18 15:36:19 +00:00
Ivan Kochurkin
05bed8f751
[FIR] Hide local type for return type of single expression function ^KT-51418 Fixed
2022-04-18 15:36:18 +00:00
Mikhail Glukhikh
0ecba0ad0b
FIR: don't create incorrect constraints in CallableReferenceResolution
...
#KT-50994 Fixed
Related to KT-49477
2022-04-18 14:27:42 +00:00
Denis.Zharkov
9c7fea24d1
Fix exception when reporting WRONG_TYPE_PARAMETER_NULLABILITY_FOR_JAVA_OVERRIDE
...
^KT-51979 Fixed
2022-04-15 12:36:05 +00:00
Dmitriy Novozhilov
989cef6c3c
[FE 1.0] Don't report OVERRIDE_DEPRECATION on default accessors of deprecated properties
...
^KT-51893 Fixed
2022-04-15 08:30:05 +00:00
Jerome Prinet
44b2905800
Fix JavaApplication.setMainClassName deprecation
2022-04-14 14:21:31 +03: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
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
0fa791e669
[low level fir] lazyly get KtSymbol for builtins
2022-04-13 12:53:28 +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