Vyacheslav Gerasimov
13d87e8eae
Remove as31 bunch files
2019-01-14 21:29:02 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Toshiaki Kameyama
05d8932fa6
Remove useless cast: don't remove parentheses for lambda
...
#KT-28641 Fixed
2019-01-09 12:16:01 +03:00
Toshiaki Kameyama
d02867a831
Add "Wrap with array literal" quick fix for annotation parameters
...
#KT-28969 Fixed
2019-01-09 12:12:27 +03:00
Toshiaki Kameyama
53b0aa5813
"Wrap element with arrayOf() call": don't suggest for annotation parameters
...
#KT-28969 Fixed
2019-01-09 12:12:27 +03:00
Toshiaki Kameyama
3040a2b145
Add quickfix for RETURN_TYPE_MISMATCH_ON_OVERRIDE
...
#KT-27972 Fixed
2018-12-29 10:41:14 +03:00
Vyacheslav Gerasimov
343560c533
181: Fix QuickFixTestGenerated$TypeMismatch.testParamTypeLambdaMismatch
2018-12-28 19:01:39 +03:00
goodsauce
72be9ef738
#KT-27670 Add quick fix: wrap expression in a lambda if compatible functional type is required ( #2010 )
2018-12-27 20:12:10 +03:00
Toshiaki Kameyama
538a746df9
Introduce "Function with = { ... }" inspection
...
#KT-17119 Fixed
2018-12-26 19:14:06 +03:00
Mikhail Glukhikh
8420fceb8c
Support '.toType()' and literal fixes related to unsigned type mismatch
...
#KT-26836 Fixed
2018-12-26 18:21:49 +03:00
Mikhail Glukhikh
73b6148407
Do not suggest cast for SIGNED_CONSTANT_CONVERTED_TO_UNSIGNED
...
Related to KT-27590
2018-12-26 18:21:49 +03:00
Mikhail Glukhikh
d7ce79cc76
Suggest quick-fixes for SIGNED_CONSTANT_CONVERTED_TO_UNSIGNED
...
#KT-27590 Fixed
2018-12-26 18:21:49 +03:00
Mikhail Zarechenskiy
e4a4d1169e
Prohibit JvmOverloads on constructors of annotation classes
...
In LV >= 1.4 & -progressive
#KT-25702 Fixed
2018-12-24 12:48:00 +03:00
Mikhail Zarechenskiy
958aeff94b
Prohibit type parameters for local variables in LV >= 1.4 & -progressive
...
#KT-8341 Fixed
2018-12-24 12:47:58 +03:00
Mikhail Glukhikh
aa9e48b9b6
Augmented list assignment inspection: add "replace with ordinary" fix
...
Relates to KT-20626
2018-12-12 15:56:11 +03:00
Mikhail Glukhikh
c560aada3d
Add "Suspicious collection reassignment" inspection #KT-20626 Fixed
2018-12-12 15:56:11 +03:00
Toshiaki Kameyama
cf3215b96e
Add quick fixes for SMARTCAST_IMPOSSIBLE in 'if' #KT-27184 Fixed
2018-11-29 19:26:58 +03:00
Toshiaki Kameyama
d06b04f025
Add intention to convert SAM lambda to anonymous object #KT-25718 Fixed
2018-11-23 01:05:42 +03:00
Natalia Selezneva
1b715ab253
"Add non-null asserted (!!) call": Fix for array access expression (KT-27071)
...
^KT-27071 Fixed
2018-11-19 11:09:32 +03:00
Toshiaki Kameyama
89ba7a7ae8
Make abstract: do not suggest for inline classes #KT-28268 Fixed
2018-11-17 18:07:15 +03:00
Toshiaki Kameyama
8089d2e9e3
Replace deprecated symbol usage in whole project: enable on annotation declared without parentheses #KT-12479 Fixed
2018-11-16 13:07:36 +03:00
Toshiaki Kameyama
cbaa8e5be2
Remove single lambda parameter declaration: fix false positive on property with implicit type #KT-23134
2018-11-13 10:42:16 +03:00
Toshiaki Kameyama
2683b25728
"Change type" quick fix: fix false negative in 'when' branch #KT-8820 Fixed
2018-11-09 11:09:02 +03:00
Toshiaki Kameyama
9c18e24de5
Change to function invocation fix: use parentheses in string template
...
#KT-5071 Fixed
2018-11-08 10:33:50 +03:00
Monchi
07ca958ff0
Add the quickfix to add property to supertype #KT-17004 Fixed
2018-11-07 17:00:26 +03:00
Toshiaki Kameyama
455db32199
"Remove parameter" quick fix: remove also type constraint
...
#KT-26673 Fixed
2018-11-07 12:20:35 +03:00
Mikhail Glukhikh
6e10235208
Make "Add name(s) to call arguments" available for generic arguments
...
#KT-15550 Fixed
2018-10-27 12:13:42 +03:00
Matthew Runo
374eec04d4
KT-27445: Add QuickFix for DEPRECATED_JAVA_ANNOTATION compiler warning
2018-10-18 15:56:15 +03:00
Toshiaki Kameyama
061aa63a73
"Make private" intention: fix some false positive cases
2018-10-11 17:20:46 +03:00
Mikhail Glukhikh
7488056249
Use 'canBeInternal' in ChangeVisibilityFix (related to KT-27138)
2018-10-11 17:20:30 +03:00
Toshiaki Kameyama
c65e246e02
Make private: don't suggest if property has @JvmField annotation
...
#KT-27138 Fixed
2018-10-11 17:20:13 +03:00
Toshiaki Kameyama
5c83c247d7
"Simplify comparison": remove if when possible after applying quickfix
...
#KT-25995 Fixed
2018-10-11 17:19:10 +03:00
Toshiaki Kameyama
57ae60e9dc
"Add else branch" on when quickfix: don't add braces #KT-5088 Fixed
2018-10-09 12:28:08 +03:00
Mikhail Glukhikh
a43be4cbe8
Fix testNotPossible (no more conversion to secondary constructor)
2018-10-09 11:08:37 +03:00
Toshiaki Kameyama
b0c3461eab
Add quickfix for ASSIGN_OPERATOR_AMBIGUITY on mutable collection '+=', '-='
...
KT-26236 Fixed
2018-10-05 15:58:39 +03:00
Toshiaki Kameyama
23734bae3e
Add quickfix for DECLARATION_CANT_BE_INLINED #KT-9983 Fixed
2018-10-04 13:11:36 +02:00
Toshiaki Kameyama
5e7d974767
"Make open": Fix false positive for data class inheritance #KT-27354 Fixed
2018-10-03 08:53:03 +03:00
Nikolay Krasko
b09ec3cbb3
Shortcut quick fix for migrating all coroutines in the project (KT-27164)
...
#KT-27164 Fixed
2018-09-29 16:27:45 +03:00
Nikolay Krasko
0833f23d02
Make ReplaceWith work for objects (KT-16211, KT-14929)
...
#KT-16211 Fixed
2018-09-26 13:35:35 +03:00
Toshiaki Kameyama
7d89205618
Add "Remove inline modifier" quick fix for NOTHING_TO_INLINE #KT-5187 Fixed
2018-09-25 11:48:20 +03:00
Nikolay Krasko
bbd15db308
Remove old buildIterator import (KT-26679)
2018-09-24 15:57:06 +03:00
Mikhail Glukhikh
6850d7be0c
Enable feature: add test for JPS case
2018-09-20 16:19:03 +03:00
Nikolay Krasko
64d2cdf0c2
Migrate for moved and renamed buildSequence/buildIterator (KT-26679)
...
#KT-26679 Fixed
2018-09-19 12:38:35 +03:00
Mikhail Glukhikh
65ee837bfe
Fix testAddArrayOfTypeForJavaAnnotation (named arguments in 1.3)
2018-09-18 11:50:48 +03:00
Mikhail Glukhikh
140c5d7689
Fix AddAnnotationTarget.testWithJava from multi-file quick fix
2018-09-18 11:50:47 +03:00
Mikhail Glukhikh
4a3af36909
Remove SHOULD_FAIL_WITH from testQuotesName thus fixing it
2018-09-18 11:50:37 +03:00
Mikhail Glukhikh
3014c3b33b
Add new error from 1.3 into testIncorrectArgs thus fixing it
2018-09-18 11:50:36 +03:00
Mikhail Glukhikh
362ee126d1
Add language version 1.2 to quick-fix tests for companion in interface
...
In 1.3, companion members in interface can be annotated with JvmField,
so fix replacing JvmField with const is no more actual.
This fixes testCompanionInInterface.
2018-09-18 11:50:35 +03:00
Mikhail Glukhikh
81406a2bac
Change .hashCode() to .bar() for some nullability fixes tests
...
Hash code can be no more used because in 1.3 we have nullable extension.
This fixes two wrap with safe let call tests and
one surround with null check test.
2018-09-18 11:50:34 +03:00
Mikhail Glukhikh
0f8b46b7d7
Add language version 1.2 to quick-fix tests for add explicit import
...
This fixes tests for KT-21515
2018-09-18 11:50:33 +03:00