Yan Zhulanow
8a3e63aaf6
Minor: Clean up jvm-debugger-core module
2020-05-27 02:38:43 +09:00
Yan Zhulanow
3e05f7c2ab
Minor: Move EvaluationStatus to the parent dir match its package name
2020-05-27 02:38:43 +09:00
Yan Zhulanow
0bf63c3000
Minor: Move filters to the companion object
2020-05-27 02:38:43 +09:00
Yan Zhulanow
3a0b0770d7
Debugger, minor: Remove obsolete KotlinRuntimeTypeEvaluator
2020-05-27 02:38:43 +09:00
Yan Zhulanow
9e85e9a036
Debugger, minor: Move method filters to the 'smartStepInto' package
2020-05-27 02:38:43 +09:00
Yan Zhulanow
45c97a2c5e
Debugger: Add test for KT-14057
2020-05-27 02:38:43 +09:00
Yan Zhulanow
bf890a1540
Debugger, tests: Change ADDITIONAL_BREAKPOINT directive format
...
- Make it extendable and easier to parse
- Allow to create additional function breakpoints
2020-05-27 02:38:43 +09:00
Yan Zhulanow
4244f05307
Debugger: Fix step over in functions with default parameters (KT-14828)
...
Adds a synthetic line number just before the original function call.
The new line number is recognized by the debugger which replaces the
'step over' action with 'step into' and stops.
2020-05-27 02:38:43 +09:00
Yan Zhulanow
d0f34624bd
Debugger: Replace unsafe location() calls with safeLocation()
2020-05-27 02:38:43 +09:00
Yan Zhulanow
e6791ea4c3
Minor: merge KotlinSyntheticTypeComponentProvider with the base class
...
Base class was needed because of the separate bunch.
The bunch was deleted in 254dc8f71c ,
and now it doesn't make sense to have a base class any more.
2020-05-27 02:38:43 +09:00
Yan Zhulanow
69965eaa5c
Implement new stepping for suspend functions
2020-05-27 02:38:43 +09:00
Yan Zhulanow
2044ece335
Kapt: Add DUMP_DEFAULT_PARAMETER_VALUES flag (KT-29355)
...
Put initializers on fields when corresponding primary constructor
parameters have a default value specified. The new behavior
is available under the new 'DUMP_DEFAULT_PARAMETER_VALUES' flag.
Note that this doesn't affect regular functions with default parameter
values, as well as primary constructor parameters without a
'val' or 'var' keyword.
2020-05-27 02:38:42 +09:00
Yan Zhulanow
60aa47553d
Kapt, minor: Move test logic for KaptFlags to the new base class
2020-05-27 02:38:42 +09:00
Yan Zhulanow
c699a5b54c
Pill: Disable Pill support for coroutines-experimental module
2020-05-27 02:38:42 +09:00
Yan Zhulanow
8fc403db94
Check if we are inside Kotlin in KotlinClassWithDelegatedPropertyRenderer
...
As 'isApplicable()' is called for Java classes as well, we spend too
much time on calling 'allFields()' for deliberately unrelated classes.
2020-05-27 02:38:42 +09:00
Yan Zhulanow
0afd73b95c
Debugger: Pass files with inline functions to backend (KT-36404)
2020-05-27 02:38:42 +09:00
Yan Zhulanow
85a5e5241f
Debugger: Fix function breakpoints for libraries (KT-36403)
2020-05-27 02:38:42 +09:00
Yan Zhulanow
18070303d5
Update test data (KT-32511)
2020-05-27 02:38:42 +09:00
Yan Zhulanow
797058f781
Update test data (KT-27651)
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama
f6a13df388
Add quick fix for AMBIGUOUS_SUPER
...
#KT-5271 Fixed
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama
7c0af78b08
UnnecessaryVariableInspection: fix false positive in lambda
...
#KT-32565 Fixed
2020-05-27 02:38:42 +09:00
Toshiaki Kameyama
64f6ed586b
"Convert to primary constructor" inspection: do not report when property has setter
...
#KT-22142 Fixed
2020-05-27 02:38:42 +09:00
Yan Zhulanow
08f31758b8
Minor: Extract name comparison
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
19d1532dc7
AddFunctionParametersFix: use argument name as parameter name if argument is referenced variable
...
#KT-14021 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
8b8059acdd
Add quick fix for MANY_IMPL_MEMBER_NOT_IMPLEMENTED
...
#KT-17121 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
21d6d50241
Create class quick fix: suggest on supertype entry
...
#KT-32511 Fixed
2020-05-27 02:38:41 +09:00
Toshiaki Kameyama
4973d3c359
"Create enum constant" quick fix: handle trailing comman correctly
...
#KT-36461 Fixed
#KT-36462 Fixed
2020-05-27 02:38:41 +09:00
Yan Zhulanow
0bd2643788
Fix EA-209582: Add a missing runReadAction()
2020-05-27 02:38:41 +09:00
Yan Zhulanow
075870fee9
Fix EA-207101: Abort changing property declaration from Java accessor
...
This is not a proper fix. "Change signature" in Kotlin should support
changing property name/type through accessors. However, it's not
easy to achieve without a huge refactoring.
2020-05-27 02:38:41 +09:00
Yan Zhulanow
fc433dece8
Fix EA-221456, check for error types before method signature calculation
2020-05-27 02:38:41 +09:00
Yan Zhulanow
c8bad15ba9
Fix EA-210182, check for context validity
2020-05-27 02:38:41 +09:00
Yan Zhulanow
b756e18962
Never treat @JsExport-annotated declarations as not-used instead of @JsName
2020-05-27 02:38:41 +09:00
Yan Zhulanow
ef698a5747
Fix "PSI/index mismatch" in case of @ParameterName on non-functional types (KT-34524)
2020-05-27 02:38:41 +09:00
Yan Zhulanow
d86b54a2f1
Minor: Fix formatting
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
4638a97bbc
"Call on collection type may be reduced": fix false positive with mapNotNull, generic lambda block and new inference
...
#KT-32801 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
6ee4b5e393
Condition of 'if' expression is constant: don't report when condition has named reference
...
#KT-27651 Fixed
2020-05-27 02:38:40 +09:00
Yan Zhulanow
bfb5efd490
Minor: Get rid of the hard-coded modifier value
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
581f83421a
Unnecessary parentheses in function call with lambda: don't report for function named 'suspend'
...
#KT-22878 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
777995a3a0
Add braces: don't insert extra line break and move the following comment
...
#KT-36194 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
905d0c1016
Unused symbol: do not report for @JsName annotated declarations
...
#KT-17368 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
7abd0831a1
Unused unary operator: highlight whole expression in yellow
...
#KT-37156 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
43b106fc72
Can be replaced with binary operator: do not report if it leads to an error/warning after conversion
...
#KT-25050 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
81d01a8f8e
"To ordinary string literal": don't add unnecessary escapes to characters in template expression
...
#KT-36406 Fixed
2020-05-27 02:38:40 +09:00
Toshiaki Kameyama
bf3e739edf
Replace with string templates: add curly braces if needed
...
#KT-37173 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
8d3e41ae60
ReplaceToWithInfixFormInspection: don't report when call expression has type typeArguments
...
#KT-36508 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
f7a69d4aa7
Convert lambda to reference: suggest on lambda argument for suspend function parameter
...
#KT-34378 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
9b6b25f069
Convert lambda to reference: suggest on lambda argument for extension function parameter
...
#KT-22014 Fixed
#KT-22015 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
b8ae13b3d9
RedundantLetInspection: remove 'let' safe call correctly
...
#KT-37148 Fixed
2020-05-27 02:38:39 +09:00
Toshiaki Kameyama
a2f55e8b7c
Remove redundant calls of the conversion method: report for unsigned types
...
#KT-30263 Fixed
2020-05-27 02:38:39 +09:00
Yan Zhulanow
38b6b73745
Add additional diagnostic for EA-225967
2020-05-27 02:38:39 +09:00