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
Dmitry Petrov
551d0c1b64
JVM_IR KT-43440 private-to-this default interface funs are private
2020-11-23 13:56:17 +03:00
Dmitry Petrov
bf7fdcda6e
KT-42909 fix missing loop variable in 'withIndex' ranges
2020-11-23 13:56:17 +03:00
Ilya Matveev
a9c9406a55
[Gradle, K/N] Set LIBCLANG_DISABLE_CRASH_RECOVERY=1 for cinterop
...
Issue #KT-42485 Fixed
2020-11-23 10:49:12 +00:00
Alexander Anisimov
37197a95cd
Update ReadMe.md
2020-11-23 13:14:26 +03:00
Kristoffer Andersen
18612c1ef0
[JVM+IR] Rebase LVT test of destructuing in lambda params
...
The debug experiece of destructuring patterns in lambdas is different
across the two backends due to the IR backend moving local variables
to fields.
However, since the destructuring variable is never actually visible in
the debugger (no linenumbers in the live range of the variable), and
the variable is never used for anything other than hiding it from the
debugger, we propose that it is not actually necessary to include it
in the LVT (and in fact, could be left out of the LVT on the old
backend).
2020-11-23 10:54:04 +01:00
Ivan Gavrilovic
ccc272c49f
KT-43489: KGP - Avoid storing build history mapping in a property
...
If tasks are created eagerly, it is possible for this
mapping to be initalized too early. This causes incremental
compilation to fail, as it will contain mappings only for
projects that have been evaluated thus far.
Fixes KT-43489
2020-11-23 11:45:46 +03:00
Alexander Anisimov
2c28e6556b
Add JetBrains to the first part of text
2020-11-23 11:14:52 +03:00
Hollow Man
926dc085da
Fix typo
...
inferrred -> inferred
2020-11-21 14:00:28 +01:00
Vyacheslav Gerasimov
3351887ae5
Build: Upgrade GE plugin to 3.5
2020-11-20 20:15:27 +03:00
LepilkinaElena
dd9c0c5c6e
Use separate logic for filtering and skipping in collectAndFilterRealOverrides [KT-43487] ( #3921 )
2020-11-20 19:10:41 +03:00
Alexander Udalov
362775b6b6
JVM IR: minor, improve exception message
2020-11-20 12:43:47 +01:00
Dmitry Petrov
b495fd542f
JVM, JVM_IR: KT-42281 proper array->primitive coercion
2020-11-20 14:33:20 +03:00
Dmitry Petrov
e59c8e0a5c
JVM_IR KT-42137 bridges are not generated for fake overrides
2020-11-20 14:33:20 +03:00
Roman Artemev
5d5473ef08
[IR BE] Drop unused context member
2020-11-20 12:04:18 +03:00
Roman Artemev
51cff97b78
[JS IR BE] Drop implicit declaration file
2020-11-20 12:03:05 +03:00
Jinseong Jeon
67604551c5
FIR: reuse visibility checker when determining immutable property reference
2020-11-20 10:48:13 +03:00
Jinseong Jeon
463d53ee5c
FIR: handle reference to property with invisible setter
2020-11-20 10:48:13 +03:00
Ilya Gorbunov
b2b2629e79
Use new kotlin.io.path API in tests
2020-11-20 09:03:25 +03:00
Ilya Gorbunov
d38e145529
Use new kotlin.io.path API in generators
2020-11-20 09:03:13 +03:00