Ilya Goncharov
5746a7c4fc
[JS IR] Only consider top level properties
...
^KT-43222 fixed
2020-11-24 12:27:36 +03:00
Ilya Goncharov
0dc4f51d74
[JS IR] Add init function call into first step of property accessor
...
^KT-43222 fixed
2020-11-24 12:27:20 +03:00
Ilya Goncharov
71bfed3253
[JS IR] From searcher get only properties, mutate in lowering
...
^KT-43222 fixed
2020-11-24 12:27:04 +03:00
Ilya Goncharov
42e1a3280b
[JS IR] Add guard into init properties function
...
^KT-43222 fixed
2020-11-24 12:25:38 +03:00
Ilya Goncharov
d752b7439e
[JS IR] Add init function for properties
...
^KT-43222 fixed
2020-11-24 12:25:24 +03:00
Alexander Likhachev
003ea4bcdf
[Gradle, MPP] Make metadata jar task cc-compatible with warnings
...
#KT-43329 Fixed
2020-11-24 11:33:20 +03:00
Shagen Ogandzhanian
3282e092d8
[JS] Don't fail on recursive upper bounds while resolving JsExports
...
Fixes https://youtrack.jetbrains.com/issue/KT-42112
2020-11-23 18:01:00 +01:00
Jinseong Jeon
f9a032dbfa
FIR2IR: add AnnotationGenerator to Fir2IrComponents
2020-11-23 19:36:11 +03:00
Jinseong Jeon
eff4cec3e0
FIR2IR: convert annotations on delegated members
2020-11-23 19:36:10 +03:00
pyos
d980074624
FIR: deserialize the fun interface flag
2020-11-23 19:36:09 +03:00
pyos
20c7c4881d
FIR: fix @JvmPackageName
...
A single `JvmGeneratorExtensions` instance should be passed around.
2020-11-23 19:36:08 +03:00
Shagen Ogandzhanian
2d4e9af289
[JS IR] Throw exception if test class or test method has explicit parameter
...
resolves https://youtrack.jetbrains.com/issue/KT-41032
2020-11-23 15:47:32 +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
Ilya Kirillov
911662bc2f
FIR IDE: introduce out of block modification tracker tests
2020-11-23 15:30:14 +01:00
Ilya Kirillov
da7b12f7e1
FIR IDE: introduce ProjectWideOutOfBlockKotlinModificationTrackerTest
2020-11-23 15:30:12 +01:00
Ilya Kirillov
880e76b203
FIR IDE: introduce FIR IDE specific out of block modification tracker
2020-11-23 15:30:07 +01:00
Ilya Kirillov
6c1faec171
FIR IDE: introduce file structure tests
2020-11-23 15:30:05 +01:00
Ilya Kirillov
7c912cd3e4
FIR IDE: introduce FileElementFactory
2020-11-23 15:30:02 +01:00
Ilya Kirillov
315629c99b
FIR IDE: refactor lock provider
2020-11-23 15:29:59 +01:00
Ilya Kirillov
559b07d78a
FIR IDE: fix memory leak in scope provider
2020-11-23 15:29:58 +01:00
Ilya Goncharov
64895fe7da
[JS IR] Test with js specific moved to js.translator
...
- Move js function from `main` to separate js file
^KT-40090 fixed
2020-11-23 16:05:33 +03:00
Ilya Goncharov
fe3030c432
[JS IR] Drop last null arguments in calls of external functions
...
^KT-40090 fixed
2020-11-23 16:05:19 +03:00
Ilya Goncharov
5c731c6c04
[JS IR] Add test in external js fun with default args
...
^KT-40090 fixed
2020-11-23 16:05:02 +03:00
Jinseong Jeon
8eb2ae18dc
FIR checker: refactor EventOccurrencesRange accumulation
2020-11-23 14:54:19 +03:00
Jinseong Jeon
b9d3578a86
FIR checker: refactor ControlFlowInfos whose key is EdgeLabel
2020-11-23 14:54:19 +03:00
Jinseong Jeon
b6a4c279a4
FIR checker: refactor ControlFlowInfos whose value is EventOccurrencesRange
2020-11-23 14:54:19 +03:00
Jinseong Jeon
cf8f5b0912
FIR checker: make calls effect analyzer path-sensitive
2020-11-23 14:54:18 +03:00
Dmitry Petrov
2662679579
KT-43399 properly erase extension receiver type in property$annotations
2020-11-23 13:58:52 +03:00