Stanislav Erokhin
7c2825b397
KT-12623 Fixed ISE: Type parameter ... not found for public fun ...
...
#KT-12623 Fixed
Also EA-72653 fixed.
2016-06-23 02:03:24 +03:00
Mikhail Glukhikh
4145e3438f
Minor fixes: can be constructor property
...
(cherry picked from commit 4d44e15)
2016-06-21 22:23:12 +03:00
Mikhail Glukhikh
70becfbd86
Has platform type inspection is now intention-based
...
(cherry picked from commit 7cc6b9b)
2016-06-21 15:22:15 +03:00
Mikhail Glukhikh
5c4b6ba8b0
Has platform type : public API only option
...
(cherry picked from commit a084c1d)
2016-06-21 15:20:11 +03:00
Kirill Rakhman
d7bf03be46
Implement inspection for declarations with implicit platform types #KT-12310 Fixed
...
(cherry picked from commit 00d8c26)
2016-06-21 15:19:13 +03:00
Mikhail Glukhikh
ac03d98cb2
Inspection "can be primary constructor property" with relevant quick-fix #KT-8477 Fixed
...
(cherry picked from commit 2db7562)
2016-06-16 16:24:43 +03:00
Denis Zharkov
3ede8f97e6
Revert "Quick fix for deprecated async syntax"
...
This reverts commit afc1e24571 .
2016-06-08 18:53:16 +03:00
Denis Zharkov
7d3333e86e
Revert "Reserve "async* {}", extend the quick-fix"
...
This reverts commit a7e7d53e2b .
2016-06-08 18:53:16 +03:00
Mikhail Glukhikh
a22e7d3bcf
KT-12152 : leaking this inspection: accessing non-final member / this in non-final class
2016-06-03 14:45:58 +03:00
Mikhail Glukhikh
e66acd8101
Default modality is abstract for interface. REDUNDANT_MODIFIER_FOR_TARGET applicability reduced #KT-12302 Fixed
2016-05-24 14:25:22 +03:00
Vladislav Golub
bb32c2d350
KT-12019 Highlighting of redundant 'if' statements ( #871 )
2016-05-23 21:02:38 +03:00
Mikhail Glukhikh
1a8181bdc4
Only private constructors for sealed / enum classes #KT-12377 Fixed
...
Also #KT-8497 Fixed
2016-05-23 13:08:57 +03:00
Mikhail Glukhikh
3930184f1f
Can be parameter inspection: usage in secondary constructor is now handled as property use
2016-05-18 17:46:05 +03:00
Mikhail Glukhikh
bc7fbdc0a2
Can be parameter inspection: minor test correction
2016-05-18 17:46:01 +03:00
Mikhail Glukhikh
b026969144
Can be parameter inspection: handle usage in super call; again #KT-10819 Fixed
2016-05-18 17:45:57 +03:00
Mikhail Glukhikh
8920e67c5a
Unused symbol: secondary constructors are also under analysis #KT-10812 Fixed
2016-05-13 13:22:25 +03:00
Mikhail Glukhikh
be2b37db5e
Unused symbol inspection: properties declared in primary constructor are now checked on 'Used' annotations #KT-11120 Fixed
2016-05-11 19:08:42 +03:00
Mikhail Glukhikh
48ba63fa27
Can be parameter inspection: usages in all functions are now handled as property usage
2016-05-10 10:53:34 +03:00
Kirill
5b6a8dcfd3
Don't mark magic Serializable methods as unused
...
Fixes #KT-10635
2016-05-06 15:33:55 +02:00
Valentin Kipyatkov
e1d8c72aa7
KT-10770 IDEA cannot keep import if a type is only referenced by kdoc.
...
#KT-10770 Fixed
2016-04-29 11:23:23 +03:00
Valentin Kipyatkov
306edef23c
Highlighting of redundant semicolons
...
#KT-5010 Fixed
2016-04-29 11:23:22 +03:00
Mikhail Glukhikh
1744897561
Can be parameter inspection: use inside object literals is now handled as "property use"
2016-04-27 18:41:48 +03:00
Mikhail Glukhikh
64ae9af3a4
Can be parameter inspection: use in selector position is now always handled as "property use"
2016-04-27 18:41:45 +03:00
Mikhail Glukhikh
795b92461e
Can be parameter inspection: use inside function literals is now handled as "property use" #KT-11949 Fixed
2016-04-27 18:41:41 +03:00
Mikhail Glukhikh
a12faf5baf
KtDeclaration.containingClassOrObject now works correctly for primary constructor and its parameters #KT-11982 Fixed
2016-04-21 14:21:40 +03:00
Valentin Kipyatkov
50e7079efc
Better message for CanBeValInspection
2016-04-20 14:30:53 +03:00
Valentin Kipyatkov
ecdaaea88d
Never report companion object as unused
...
#KT-11366 Fixed
2016-04-20 14:30:52 +03:00
Mikhail Glukhikh
c7b2042b77
Do not suggest to add variance modifier if both in and out are possible
2016-04-18 13:40:55 +03:00
Mikhail Glukhikh
e60930d5ce
Add variance modifier fix corrected: primary constructor parameters are taken into account
2016-04-18 13:40:50 +03:00
Denis Zharkov
2f0b052540
Fix infinite loop in CanBeValInspection
...
Obviously there should be 'return' instead of 'continue'
Otherwise the loop will not end
#KT-11891 Fixed
2016-04-14 14:01:39 +03:00
Alexey Sedunov
9bf395a4cd
Light Classes: Skip irrelevant overloads when looking for light parameter
...
#KT-11868 Fixed
2016-04-13 12:20:20 +03:00
Mikhail Glukhikh
d79e3f322f
Redundant modality modifier inspection #KT-11450 Fixed
2016-04-11 16:32:43 +03:00
Mikhail Glukhikh
1d83a1a97c
Can be parameter inspection #KT-10819 Fixed
2016-04-11 16:32:26 +03:00
Valentin Kipyatkov
a9fe999e0e
Fixed StackOverflow in CanBeValInspection.kt
2016-04-07 18:50:31 +03:00
Mikhail Glukhikh
1b9c6e0ea2
Add variance (in / out) modifier inspection #KT-11090 Fixed
2016-04-05 17:47:29 +03:00
Mikhail Glukhikh
a541aaafd8
Protected in final inspection: protected modifier is effectively private in final classes #KT-6674 Fixed
2016-03-28 19:03:16 +03:00
Mikhail Glukhikh
20bac6178c
Array in data class inspection: warning on array properties in data classes #KT-10299 Fixed
2016-03-28 19:00:16 +03:00
Valentin Kipyatkov
28c5dde875
KT-7715 Highlight var's that can be replaced by val's
...
#KT-7715 Fixed
2016-03-22 18:01:52 +03:00
Yan Zhulanow
f2edcd99a8
Illegal Dalvik identifier inspection
2016-02-05 17:28:50 +03:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Valentin Kipyatkov
4c62304a1d
KT-10337 Object marked as unused
...
#KT-10337 Fixed
2016-01-18 17:40:04 +03:00
Pavel V. Talanov
db07d783a2
Member is considered deprecated if it overrides only deprecated members
...
Property accessor is considered deprecated when the property is
Provide IDE inspection to strikeout members overriding deprecated members (like in java)
2016-01-15 17:53:23 +03:00
Dmitry Jemerov
e47e9f6763
inspection and code cleanup for redundant visibility modifiers
2016-01-05 13:31:43 +01:00
Pavel V. Talanov
1c4d4f3e36
Create class descriptors for local classes in illegal positions
...
Typecheck code in illegal selector position
Fixes exceptions on "val p = A.class" erroneous code
2015-12-29 15:56:44 +03:00
Andrey Breslav
a7e7d53e2b
Reserve "async* {}", extend the quick-fix
2015-12-21 07:15:37 +03:00
Nikolay Krasko
afc1e24571
Quick fix for deprecated async syntax
2015-12-21 07:15:37 +03:00
Nikolay Krasko
697132561f
Allow to override suppression key for inspections
2015-12-19 14:32:38 +03:00
Nikolay Krasko
36210f0a27
Allow to suppress kotlin inspections with Suppress() annotation
2015-12-19 14:32:36 +03:00
Evgeny Gerashchenko
9aa38d99fb
KT-8365 Bogus "Receiver never used" warning when receiver is used in invoke() convention call
...
#KT-8365 fixed
2015-12-17 13:31:43 +03:00
Stanislav Erokhin
1890b8cbd3
Removed InvokeOnExtensionFunctionWithExplicitReceiverFix
2015-12-11 17:01:03 +03:00