Valentin Kipyatkov
7bcd6619cf
Tracking inflow of lambda receiver
2020-04-18 01:24:55 +03:00
Valentin Kipyatkov
61d4383cb9
Merged LambdaResultOutflowBehaviour and LambdaCallsBehaviour into one
2020-04-18 01:24:55 +03:00
Valentin Kipyatkov
1e39d4a63c
Code refactoring + better handling of incoming data flow to java super methods
2020-04-18 01:24:55 +03:00
Valentin Kipyatkov
b5b0fd62a9
Track anonymous function parameters in inbound data flow analysis as well
2020-04-18 01:24:54 +03:00
Valentin Kipyatkov
f0d4d7bb86
Added correctness check of test data + fixed huge amount of incorrect code in test data
2020-04-18 01:24:54 +03:00
Valentin Kipyatkov
c19a16f1e0
Track lambda parameters in inbound data flow analysis
2020-04-18 01:24:54 +03:00
Valentin Kipyatkov
b4b58d1d99
Handling implicit receivers in InflowSlicer
2020-04-18 01:24:53 +03:00
Valentin Kipyatkov
90188ef44f
Data flow to/from here: supported expected/actual declarations and extension receivers
2020-04-18 01:24:52 +03:00
Valentin Kipyatkov
0b2aff4e70
KT-38003 works for Java implementations of extension method
2020-04-18 01:24:52 +03:00
Valentin Kipyatkov
84c9692332
KT-38003 works for Java implementations too
2020-04-18 01:24:51 +03:00
Valentin Kipyatkov
2b83e3721a
KT-38003 "Analyze Data Flow from Here" should work on parameter of abstract method
...
#KT-38003 Fixed
2020-04-18 01:24:51 +03:00
Toshiaki Kameyama
eff57001dc
Create secondary constructor: fill 'this()' arguments
...
#KT-11865 Fixed
2020-04-16 17:04:09 +02:00
Toshiaki Kameyama
831fbba0c1
Redundant qualifier name: don't report for EnumClass.Companion
...
#KT-37181 Fixed
2020-04-16 10:48:06 +02:00
Toshiaki Kameyama
f747f8543e
Redundant qualifier name: don't report for EnumClass.values/EnumClass.valueOf
...
#KT-34696 Fixed
2020-04-16 10:48:05 +02:00
Toshiaki Kameyama
77b6881032
Replace 'when' with 'if': do not suggest if 'when' is used as expression and it has no 'else' branch
...
#KT-35329 Fixed
2020-04-15 22:47:30 +02:00
Toshiaki Kameyama
37277d71de
Condition of 'if' expression is constant: remove else keyword if needed
...
#KT-34713 Fixed
2020-04-15 21:53:16 +02:00
Toshiaki Kameyama
1b0fac4a67
Add quick fix for PROPERTY_TYPE_MISMATCH_ON_OVERRIDE on constructor parameter
...
#KT-29934 Fixed
2020-04-15 21:32:29 +02:00
Toshiaki Kameyama
e2a7170b2f
Fix false positive "Collection count can be converted to size" with Iterable
...
#KT-34677 Fixed
2020-04-15 18:38:37 +02:00
Toshiaki Kameyama
b4c62cdb52
Introduce "Add missing 'class' keyword" intention
...
#KT-14884 Fixed
2020-04-15 14:53:52 +02:00
Toshiaki Kameyama
8c4fdd1edd
Unused import: do not report for 'invoke' function import that is used from same file
...
#KT-24281 Fixed
2020-04-15 14:00:41 +02:00
Toshiaki Kameyama
8aa120576b
Add quick fix for TOPLEVEL_TYPEALIASES_ONLY
2020-04-15 13:28:37 +02:00
Toshiaki Kameyama
9b3c3ae4ba
"Replace 'invoke' with direct call" intention: do not add unnecessary parenthesis
...
#KT-37967 Fixed
2020-04-15 09:59:23 +02:00
Toshiaki Kameyama
2f29b38b19
"Replace 'invoke' with direct call" intention: fix false positive when function is not operator
...
#KT-37977 Fixed
2020-04-15 09:16:50 +02:00
Dmitriy Dolovov
753ef971f9
HMPP: Fix serialization of TargetPlatform in tests
2020-04-14 21:07:27 +07:00
Dmitry Gridin
585177bcf7
Formatter: fix indent for multiline expression in string template
...
#KT-35359 Fixed
2020-04-14 13:54:12 +00:00
Mikhail Bogdanov
9d68db1668
Switch usages android build tools from 23.0.1 to 28.0.3
2020-04-14 13:53:22 +02:00
Ilya Chernikov
cf387ffad1
Remove obsolete source-sections plugin
2020-04-13 13:49:33 +02:00
Roman Golyshev
d7667209b2
KT-37144 Respect quotes in package name during decompilation
...
- Odd package names (for example `try` in `arrow-core`) were pasted
as-is to the decompiled text
- Because of this, stub checks were failing, forcing completion to start
over and over again, as if something changed in the files
- See EA-5572315 for the error
- ^KT-37144 Fixed
2020-04-13 07:34:28 +00:00
Dmitriy Dolovov
cdbc272aca
IDE. Drop redundant test in GradleNativeLibrariesInIDENamingTest
2020-04-10 18:14:13 +07:00
Vladimir Dolzhenko
b51ae78b84
Do not resolve alias imported references on rename
...
#KT-38096 Fixed
2020-04-09 20:38:01 +00:00
Dmitry Gridin
9d8d881bff
CallableUsageReplacementStrategy: support KtSuperTypeCallEntry
...
#KT-37849 Fixed
2020-04-09 15:19:36 +07:00
Ilya Matveev
cf157e3999
[IDE, native] Update mock K/N dist: fully qualified klib names
2020-04-09 13:07:45 +07:00
Ilya Matveev
12e4159525
[IDE, native] Update mock K/N dist: klib componentization
...
This patch actualizes an internal structure of mock klibs
used in IDE tests for the K/N support.
2020-04-09 13:07:44 +07:00
Toshiaki Kameyama
06bd620dd6
Replace with: do not remove annotation use-site targets
2020-04-08 19:09:53 +07:00
Valentin Kipyatkov
88cd129549
Fixed other parameter references broken in new parameter values in conventional Change Signature
2020-04-07 22:17:04 +03:00
Dmitry Gridin
b548c5bf93
RemoveRedundantQualifierNameInspection: add regression test
...
#KT-35898
2020-04-07 15:57:34 +07:00
Igor Yakovlev
8531c1e9a5
Fixed WordSelectionTest.testDocComment test data
2020-04-07 02:12:32 +03:00
Mikhail Glukhikh
59dd57dcf7
Unmute working test from FirReferenceResolve group
2020-04-06 13:41:17 +03:00
Dmitry Gridin
de1fa40c7e
CodeInliner: fix KNPE
...
#KT-22733 Fixed
#KT-36225 Fixed
#EA-206694 Fixed
2020-04-04 00:46:15 +07:00
Nikolay Krasko
b89a7325b2
Remove https://dl.bintray.com/kotlin/kotlin-eap repository from gradle tests
2020-04-03 19:31:31 +03:00
Nikolay Krasko
01e10324f0
Eliminate 1.3.60-eap-76 usages from tests
2020-04-03 19:31:31 +03:00
Igor Yakovlev
a71fd0e6d9
Support for showing rendered doc comments in editor
...
Fixed #KT-37361
2020-04-03 12:38:51 +03:00
Toshiaki Kameyama
1f6b7dd88d
"Redundant suspend modifier": fix false negative with only recursive call
...
#KT-35829 Fixed
2020-04-03 01:17:15 +03:00
Ilya Kirillov
126cd38360
Fix testdata of RemoveSingleLambdaParameter quickfix
2020-04-02 22:25:20 +03:00
Toshiaki Kameyama
cc0cb30b53
"Remove single lambda parameter declaration": do not suggest when lambda is directly under 'if/when'
...
#KT-35995 Fixed
2020-04-02 22:10:57 +03:00
Toshiaki Kameyama
a96b359a09
"Remove braces from 'if' statement": do not suggest when lambda is directly under 'if'
...
#KT-35994 Fixed
2020-04-02 12:52:11 +03:00
Toshiaki Kameyama
30366148bf
Convert to block body: adjust line indent
...
#KT-22368 Fixed
2020-04-02 12:48:05 +03:00
Toshiaki Kameyama
1bc72f0b32
"Surround with lambda" quickfix: suggest for suspend function
...
#KT-34371 Fixed
2020-04-02 12:45:47 +03:00
Toshiaki Kameyama
c344b85d4e
Convert parameter <-> receiver intention: do not add label to 'this' if not needed
...
#KT-17615 Fixed
#KT-30028 Fixed
#KT-32809 Fixed
#KT-28085 Fixed
#KT-37508 Fixed
Convert receiver to parameter:
#KT-37508 Fixed
2020-04-01 13:26:55 +03:00
Toshiaki Kameyama
3263e85bee
Introduce "Remove fun modifier" quick fix for FUN_INTERFACE_WRONG_COUNT_OF_ABSTRACT_MEMBERS error
...
#KT-37539 Fixed
2020-04-01 12:55:22 +03:00