Vladimir Dolzhenko
124888eb43
Revert back AddFunctionParametersFix test data output for 201-
2020-11-28 14:25:58 +03:00
Vladimir Dolzhenko
17e6e88176
Fixed AddFunctionParametersFix test data output
2020-11-28 14:25:57 +03:00
Vladimir Dolzhenko
95e5ea4840
temporary ignore/disable tests
2020-11-28 14:25:55 +03:00
Dmitriy Novozhilov
ad953b6285
Build: remove redundant bunch TODO's
2020-11-28 14:25:54 +03:00
Dmitriy Novozhilov
986ab9cb54
Build: remove useless .as40 files
2020-11-28 14:25:54 +03:00
Dmitriy Novozhilov
1b559fe676
Don't set KOTLIN_BUNDLED in unit tests
2020-11-28 14:25:53 +03:00
Dmitriy Novozhilov
4779092ba5
Build: fix API differences between 201 and 202 in idea performance tests
2020-11-28 14:25:49 +03:00
Dmitriy Novozhilov
2a053c214d
Build: fix API differences between 201 and 202 in scratch tests
2020-11-28 14:25:49 +03:00
Dmitriy Novozhilov
d50d56f68c
Build: fix API differences between 201 and 202 in NewKotlinFileAction
2020-11-28 14:25:49 +03:00
Dmitriy Novozhilov
eeb9b3214c
Switch to 202 platform
2020-11-28 14:25:19 +03:00
Ilmir Usmanov
05c4dfef3d
Value classes: Use 'value' keyword instead of 'inline' in stub dumps
2020-11-27 23:52:08 +01:00
Ilmir Usmanov
92f1681de0
Value classes: treat @JvmInline value classes as inline classes
...
Report error on value classes without @JvmInline annotation.
Do not check for @JvmInline annotation in value classes since
it breaks reflection.
2020-11-27 23:52:06 +01:00
Ilya Kirillov
d5979ffded
FIR IDE: add tests for checking module invalidation
2020-11-27 23:14:57 +01:00
Ilya Kirillov
2fb4a917f6
FIR IDE: fix module invalidation algorithm
2020-11-27 23:14:57 +01:00
Ilya Kirillov
519f1549f0
FIR IDE: separate logic of TestProjectStructure from AbstractFirMultiModuleLazyResolveTest
2020-11-27 23:14:56 +01:00
Ilya Kirillov
3515cd546d
FIR IDE: use PersistentMap to store FromModuleViewSessionCache mappings
...
Needed to ensure safe pub of map
2020-11-27 23:14:56 +01:00
Ilya Kirillov
76c0dc7dba
FIR IDE: add property support for incremental analysis
2020-11-27 20:41:38 +01:00
Ilya Kirillov
953dba808b
FIR IDE: move withFirDeclaration to LowLevelFirApiFacade
2020-11-27 20:41:37 +01:00
Ilya Kirillov
b4d63b9b13
FIR IDE: add docs for LowLevelFirApiFacade functions
2020-11-27 20:41:35 +01:00
Ilya Kirillov
93648e6cd3
FIR IDE: use mor specific exception in EntityWasGarbageCollectedException
2020-11-27 20:41:33 +01:00
Ilya Kirillov
65a7ee5012
FIR IDE: remove duplicating withFirResolvedToBodyResolve
2020-11-27 20:41:32 +01:00
Ilya Kirillov
3141fead0d
FIR IDE: get rid of LowLevelFirApiFacade object
2020-11-27 20:41:31 +01:00
Mikhail Glukhikh
037c505069
Unbind general FirDiagnostic from PsiFile & PsiElement
2020-11-26 08:37:49 +03:00
Mikhail Glukhikh
1795c4f3e5
Implement common Diagnostic(Factory/Renderer) in related FIR classes
2020-11-26 08:37:46 +03:00
Andrei Klunnyi
c13650fd79
KT-43511 [Gradle Runner]: run task is not created for top level modules
2020-11-25 11:10:22 +00:00
Vladimir Dolzhenko
25a631a1ca
Improved IDE performance tests vega specs
2020-11-25 10:08:57 +01:00
Ilya Kirillov
dcdd69d039
Invalidate caches before resolve in AbstractPerformanceHighlightingTest
2020-11-25 09:18:19 +01:00
Ilya Kirillov
c4a8d1c3a1
FIR: use java functional interface as a source of sam function call
2020-11-23 15:31:31 +01:00
Ilya Kirillov
7b1eef136e
FIR IDE: introduce KtFirCollectionLiteralReference
2020-11-23 15:31:30 +01:00
Ilya Kirillov
bac5ebcb12
FIR IDE: use custom thread local value for storing KtFirScopeProvider
...
java.lang.ThreadLocal stores value maps in corresponding threads
which causes memory leaks
2020-11-23 15:31:29 +01:00
Ilya Kirillov
b31def0bae
FIR IDE: invalidate analysis session on project roots change
2020-11-23 15:31:26 +01:00
Ilya Kirillov
be95d067f3
FIR IDE: add KotlinOutOfBlockPsiTreeChangePreprocessor
2020-11-23 15:31:24 +01:00
Ilya Kirillov
7a86ca632d
FIR IDE: fix collecting diagnostics for anonymous object declaration
2020-11-23 15:31:20 +01:00
Ilya Kirillov
7061608567
FIR IDE: introduce common function to mute tests
2020-11-23 15:31:14 +01:00
Ilya Kirillov
e4d2e38ea2
FIR IDE: fix reference resolving of qualified expression with nested classes
2020-11-23 15:31:11 +01:00
Ilya Kirillov
164f4d14d7
FIR IDE: do not collect diagnostics for generated declarations
2020-11-23 15:31:08 +01:00
Ilya Kirillov
60cc30286c
FIR IDE: update file structure testdata after structure elements classes rename
2020-11-23 15:31:05 +01:00
Ilya Kirillov
75990f7619
FIR IDE: fix tesdata
2020-11-23 15:31:02 +01:00
Ilya Kirillov
7320620285
FIR IDE: add local visibility to symbols
2020-11-23 15:30:58 +01:00
Ilya Kirillov
5fdcc4bb83
FIR IDE: refactor KotlinFirModificationTrackerService
2020-11-23 15:30:55 +01:00
Ilya Kirillov
112f6771eb
FIR IDE: fix compilation
2020-11-23 15:30:51 +01:00
Ilya Kirillov
65b5e4b62b
FIR IDE: make some session components to be non-thread local
...
To avoid memory leaks
2020-11-23 15:30:47 +01:00
Ilya Kirillov
c3caa3a137
FIR IDE: clean AbstractFirReferenceResolveTest
2020-11-23 15:30:42 +01:00
Ilya Kirillov
3174eb4b09
FIR IDE: do not get ktDeclaration for FirFile
2020-11-23 15:30:39 +01:00
Ilya Kirillov
ff7857a812
FIR IDE: refactor, simplify structure element class names
2020-11-23 15:30:37 +01:00
Ilya Kirillov
15277c0974
FIR IDE: introduce memory leak checking in symbols test
2020-11-23 15:30:36 +01:00
Ilya Kirillov
11e94c1de1
FIR IDE: fix building of local declaration symbols
2020-11-23 15:30:29 +01:00
Ilya Kirillov
e78e26234b
FIR IDE: do not store cone session in every KtFirType
2020-11-23 15:30:24 +01:00
Ilya Kirillov
e54d16e7e4
FIR IDE: fix fir declaration leak in symbols
2020-11-23 15:30:20 +01:00
Ilya Kirillov
b01ee163d1
FIR IDE: wrap KotlinDeserializedJvmSymbolsProvider into thread safe cache
...
This is needed by the two reasons:
- KotlinDeserializedJvmSymbolsProvider does not cache all symbols by itself
and as KtSymbol's holds fir elements under via weak refs, this weak refs
may be garbage collected
- KotlinDeserializedJvmSymbolsProvider is not thread safe
2020-11-23 15:30:17 +01:00