Ilya Kirillov
fbcaf3efeb
[Analysis API] add information about KtModule to reported exceptions
2023-02-17 14:19:09 +00:00
Ilya Kirillov
c37ee83791
[Analysis API] add more debug info to "pointer already disposed" error
2023-02-17 14:19:08 +00:00
Ilya Kirillov
8b286577c7
[Analysis API] do not throw exception when KtCall is improperly resolved
...
Log the exception instead. This way the analysis of the file will not be stuck after finding an improperly resolved call
2023-02-03 07:06:07 +00:00
Anna Kozlova
30fd34c2d7
[CLI] free cached values
...
^ KTIJ-24447
2023-02-02 08:03:05 +00:00
Ilya Kirillov
d7ee312b83
[Analysis API] do not rethrow java.lang.Error
...
Errors as OutOfMemoryError should not be caught or wrapped
2022-12-14 08:33:05 +00:00
Ilya Kirillov
a297240870
[LL FIR] fix a memory leak from LLFirNonUnderContentRootSessionFactory
2022-12-06 23:05:27 +00:00
Ilya Kirillov
7a89ca495c
[LL FIR] do not execute resolve under a non-cancellable session
...
The sessions are invalidated on the PCE
2022-12-06 21:20:41 +00:00
Ilya Kirillov
d1eb7c51f1
[Analysis API] rework renderer
...
^KTIJ-23268 fixed
2022-11-11 11:59:58 +01:00
Ilya Kirillov
fceb3425c8
[Analysis API FIR] fix invalid usages of CachedValue
...
it should not cache map as values are stored on soft references
2022-10-05 15:53:54 +00:00
Ilya Kirillov
86670361a1
[Analysis] do not fail when reporting exception with invalid psi as attachment
2022-09-30 12:19:51 +02:00
Ilya Kirillov
913bfc0838
[Low Level FIR] fix one case in CME when traversing FIR tree
...
Before extra child nodes of classes were visited during declaration by ClassId search.
If some other thread was mutating this tree, CME could happen
this is a fix of one case from ^KTIJ-21791
2022-09-30 12:19:35 +02:00
Dmitry Gridin
8dbdea39da
[analysis] remove redundant diagnostic suppression
2022-08-15 11:04:58 +02:00
Ilya Kirillov
9f1ecdfaa1
[LL FIR] add lazy resolve check to ensure that all nested declarations are resolved
...
This bow includes: value parameters, property accessors and class members;
before, only class members was checked
2022-08-10 22:49:17 +02:00
Ilya Kirillov
75787be2f8
[Analysis] change null element rendering in exceptions to distinguish will "null" strings
2022-08-10 22:49:17 +02:00
Ilya Kirillov
f45f1ba3dc
[Analysis API] do not create multiple attachments inside exceptions
2022-08-10 22:49:14 +02:00
Ilya Kirillov
6be2483824
[Analysis API FIR] rethrow IndexNotReadyException
2022-08-04 14:33:44 +00:00
Ilya Kirillov
91cf194a94
[LL FIR] incrementally update module caches
2022-07-24 15:37:44 +02:00
Ilya Kirillov
76f1744868
[Analysis API FIR] add more info to some exceptions
2022-07-23 19:54:47 +02:00
Ilya Kirillov
827c262f68
[Analysis API FIR, LL FIR] use exceptionWithAttachment to not leak user data
2022-07-23 17:08:22 +02:00
Ilya Kirillov
38c6d4b740
[LL FIR] correctly handle facade conflicts in module dependencies
2022-07-19 17:17:34 +02:00
Ilya Kirillov
86605c066b
[Analysis API] move PSI utils to internal-utils module
2022-06-24 10:41:05 +02:00
Ilya Kirillov
7b1765cc8b
[Analysis API] introduce base KtTypeScope -> KtScope converter
2022-06-22 09:31:42 +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
d926dda27f
Analysis API FIR: introduce declarations from library resolve
...
^KT-50252 fixed
2022-01-31 21:11:52 +01:00
Ilya Kirillov
abf7a4c5ac
Introduce ConcurrentMapBasedCache
2021-12-27 16:23:17 +03:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Ilya Kirillov
9cb950a2ae
Analysis API: extract PrettyPrinter from DebugSymbolRenderer to utils
2021-12-02 20:09:17 +01:00
Ilya Kirillov
dd9a96a12f
FIR LC: fix light facade caching
2021-11-05 15:46:07 +01:00