Vladimir Ilmov
60dfa8cc84
Ignore ProcessCancelledException in VirtualFileKotlinClass
2020-09-07 12:17:06 +02:00
Vladimir Dolzhenko
3de32e13ea
Clean up declarationAccessorNames debug check in UnusedSymbolInspection
...
declarationAccessorNames(KtNamedDeclaration) could be more than declaration.getAccessorNames() as it relies on LC, some of them could be not accessible
^EA-237873 Fixed
2020-09-07 09:36:28 +00:00
Vladimir Dolzhenko
127257aa27
Provide setter-method for LC for private property setter
...
^KT-41694 Fixed
2020-09-07 09:36:28 +00:00
Vladimir Dolzhenko
b5b319803b
Add more diagnostics to tackle exception in KotlinFunctionParameterInfoHandler
...
Relates to #EA-221900
2020-09-07 09:36:27 +00:00
Vladimir Dolzhenko
87e70cf690
Handle project disposed in ScriptDefinitionsManager
...
^EA-237136 Fixed
2020-09-07 09:36:26 +00:00
Vladimir Dolzhenko
4e3b1f141e
Use runReadActionInSmartMode instead of runReadAction in ConfigureKotlinInProjectUtils
...
runReadActionInSmartMode has no effect if it is already run under runReadAction - therefore it could lead to IndexNotReadyException
^EA-220414 Fixed
^EA-210940 Fixed
^KT-30929 Fixed
2020-09-07 09:36:26 +00:00
Vladimir Dolzhenko
02be470e91
Check if vFile is still valid in ScriptClassRootsUpdater#updateHighlighting
...
^EA-218774 Fixed
2020-09-07 09:36:25 +00:00
Vladimir Dolzhenko
ba027a785c
Fix NPE in GradleScriptInfo
...
^EA-237746 Fixed
2020-09-07 09:36:24 +00:00
Vladimir Dolzhenko
698f51079f
Perform paste reference resolve in smart mode
...
^EA-226712 Fixed
2020-09-07 09:36:24 +00:00
Dmitry Petrov
b00ce872ea
JVM: record JVM signature for equals/hashCode/toString in inline classes
2020-09-07 12:25:50 +03:00
Lilia
38975e4e7c
Add changelog for 1.4.10
2020-09-06 19:10:42 +07:00
cketti
7755d9fe24
Mark used parameters as disabled in parameter info popup
...
When using named arguments the IDE might be unable to map the current
argument to a parameter. In that case mark already used parameters as
disabled. That way developers can easily see which parameters have not
been used yet.
^KTIJ-128 Fixed
2020-09-05 23:17:46 +02:00
Yaroslav Chernyshev
81339d54eb
Added :core:compiler.common.jvm and :compiler:resolution.common.jvm
...
dependencies to pill importer
2020-09-05 10:56:55 +03:00
Toshiaki Kameyama
3f7aab6fae
Redundant 'asSequence' call: don't report when reciever type is Map
...
#KT-41338 Fixed
2020-09-04 22:10:34 +02:00
cketti
78493395c3
Don't mark signature as inapplicable when argument is empty/incomplete
...
This will improve the usability when using named arguments where
incomplete arguments can't be mapped to a parameter simply by position.
^KT-24172 Fixed
2020-09-04 13:11:24 +02:00
Toshiaki Kameyama
343010a833
"Unused equals expression" inspection: highlight whole expression with yellow background
...
^KT-41615 Fixed
2020-09-04 12:55:55 +02:00
Dmitriy Novozhilov
b81ec2c8f0
Fix compilation errors in bunches
2020-09-04 11:42:51 +03:00
Dmitriy Novozhilov
a8c68d9e6f
Remove dependency on :compiler:frontend.java from :compiler:fir:jvm
2020-09-04 11:42:51 +03:00
Dmitriy Novozhilov
6906e0d82d
Move common jvm classes from :core:descriptors.jvm to :core:compiler.common.jvm
2020-09-04 11:42:51 +03:00
Dmitriy Novozhilov
9806a85cc1
Move Java model classes to :core:compiler.common.jvm
2020-09-04 11:42:51 +03:00
Dmitriy Novozhilov
b81c0e91d5
Replace DescriptorVisibility with Visibility in Java model classes
2020-09-04 11:42:51 +03:00
Dmitriy Novozhilov
696f089b3e
Make DescriptorVisibility delegate to Visibility
2020-09-04 11:42:50 +03:00
Dmitriy Novozhilov
a05d6da43b
Move descriptor-independent Visibilities to common modules
2020-09-04 11:42:50 +03:00
Dmitriy Novozhilov
d1fd1da56f
Rename Visibility to DescriptorVisibility
2020-09-04 11:07:42 +03:00
Dmitriy Novozhilov
2bcd8ee07f
Get rid of Visibility.effectiveVisibility member
2020-09-04 11:07:42 +03:00
Dmitriy Novozhilov
7d9b7df3b4
Cleanup code in EffectiveVisibility.kt and extract descriptors related part to separate file
2020-09-04 11:07:42 +03:00
Dmitriy Novozhilov
6346b1b2ab
Use type markers instead of class descriptors in effective visibility
2020-09-04 11:07:42 +03:00
Dmitriy Novozhilov
64ec3fc42b
Move BuiltinSpecialProperties and JvmAbi to :core:compiler.common.jvm
2020-09-04 11:07:41 +03:00
Dmitriy Novozhilov
10fd164b77
Extract FE 1.0 dependent part from JavaToKotlinClassMap
...
Also move JavaToKotlinClassMap to :core:compiler.common.jvm
2020-09-04 11:07:41 +03:00
Dmitriy Novozhilov
136435bcc2
Move JvmPrimitiveType to :core:compiler.common
2020-09-04 11:07:41 +03:00
Dmitriy Novozhilov
4d5f28d5c0
Move FunctionInvokeDescriptor.BIG_ARITY to :core:compiler.common
2020-09-04 11:07:41 +03:00
Dmitriy Novozhilov
bf4bf30b4a
Move CompanionObjectMapping to :core:compiler.common
2020-09-04 11:07:40 +03:00
Dmitriy Novozhilov
0e04af463d
Move JvmTypeSpecificityComparator to :compiler:resolution.common.jvm
2020-09-04 11:07:40 +03:00
Dmitriy Novozhilov
564d382b9d
Introduce new modules for common jvm related parts of compiler
2020-09-04 11:07:40 +03:00
Dmitry Petrov
dd016b759e
JVM_IR: write raw types as raw in JVM generic signatures
2020-09-04 10:21:49 +03:00
Dmitry Petrov
475522f938
Represent raw types in IR using a special type annotation
2020-09-04 10:21:48 +03:00
Dmitry Petrov
714ab7c37f
Handle java raw types in IR
...
Raw type Q is represented as a flexible type
Q<B1, ... Bn> .. Q<*, ... *>
where Bi is a representative upper bound of the corresponding ith type
parameter of Q.
When mapping generic signature, JVM takes type arguments of lower bound
(which is 'Q<B1, ..., Bn>').
There is still some difference in how JVM and JVM_IR handle raw type in
signature. It requires additional investigation.
2020-09-04 10:21:48 +03:00
Toshiaki Kameyama
8420c0b7c7
Add "Redundant nullable return type" inspection
...
^KT-19321 Fixed
2020-09-04 09:07:22 +02:00
Toshiaki Kameyama
d703284d01
Naming convention inspection: don't report for factory functions
...
#KT-20438 Fixed
2020-09-03 22:25:06 +02:00
Vladimir Dolzhenko
4f4db68a61
I18N fixes after merging convert initialized val to non-null type inspection
...
Relates to ^KT-35757
2020-09-03 22:01:11 +02:00
Vladimir Dolzhenko
eb3bde1538
Amend test data after adding Convert assignment to assignment expression intention
...
Relates to #KT-22420
2020-09-03 21:38:46 +02:00
Dmitriy Dolovov
8a7f33f044
[Commonizer] Fix internal error when TAs have different expanded classes
...
^KT-41643
2020-09-04 01:19:41 +07:00
Vladimir Dolzhenko
d4ef85f6c2
Amend test data after adding Convert assignment to assignment expression intention
...
Relates to #KT-22420
2020-09-03 18:04:55 +02:00
Mark Punzalan
16ab11289c
[JS_IR] Enable RangeContainsLowering optimizations.
2020-09-03 18:42:35 +03:00
Ilya Goncharov
88755a8d20
[Gradle, JS] Use npm project dir as executable
...
^KT-40812 fixed
2020-09-03 18:31:56 +03:00
Toshiaki Kameyama
6db0785615
Wrap with let: apply to unsafe qualified expression
...
#KT-18125 Fixed
2020-09-03 17:04:06 +02:00
kvirolainen
18fbf5729d
Inspection: convert initialized val to non-null type
...
^KT-35757 Fixed
2020-09-03 16:30:28 +02:00
Pavel Kirpichenkov
8b28e54584
[FIR-IDE] Update tests
2020-09-03 16:44:57 +03:00
Pavel Kirpichenkov
177fcefa68
[FIR-IDE] Minor: refactor completion contributor
2020-09-03 16:44:41 +03:00
Enteerman
c3aeaa9052
Inspection: Simplify Nested forEach/onEach in also/apply to onEach
...
^KT-40283 Fixed
2020-09-03 15:29:32 +02:00