Dmitry Gridin
cb432acfb7
BuildScriptManipulator: implement new syntax for enable experimental features in MPP
...
#KT-28295 Fixed
2019-07-17 12:55:12 +03:00
Dmitry Gridin
8887031962
GradleConfiguratorTest: fix configureJvmEAPWithBuildGradleKts test
2019-07-17 12:55:11 +03:00
scache
9062f4229b
QuickDoc: Show sample code containing type parameters correctly
...
#KT-20777 Fixed
2019-07-15 19:36:24 +03:00
Dmitry Gridin
694c231689
RemoveRedundantQualifierNameInspection: fix false negative for java constructor
...
#KT-32506 Fixed
2019-07-12 15:51:12 +03:00
Dmitry Gridin
e0c5f897fb
KotlinGenerateToStringAction: should generate .contentToString instead java.util.Arrays.toString
...
#KT-27563 Fixed
2019-07-11 12:53:03 +03:00
Mikhail Glukhikh
2ceffa241b
FIR: make Java default constructor visibility same with class visibility
2019-07-11 12:38:53 +03:00
Mikhail Glukhikh
14bbbb5bf5
FIR: add test for synthetic property access
2019-07-11 12:37:45 +03:00
Mikhail Glukhikh
ee37a0aa9f
Inline callable: keep all usages inside annotation entries
...
#KT-24596 Fixed
2019-07-10 15:10:52 +03:00
Mikhail Glukhikh
eb00af6b96
CFG: mark annotation arguments as "used as expressions" #KT-24596 Fixed
...
NB: only classes / function / properties annotations are considered here,
not including local declarations and other annotations
2019-07-10 15:10:52 +03:00
Mikhail Glukhikh
5afa5de1d7
ReplaceWith: don't keep class literal & callable reference in inlining
...
#KT-30197 Fixed
2019-07-10 15:10:51 +03:00
Mikhail Glukhikh
615aa265f5
Inline: do more precise check before adding this@Labeled #KT-30762 Fixed
2019-07-10 15:10:51 +03:00
Dmitry Gridin
6605e0dfc0
Update test 'moveMultipleFIlesWithImplicitPrefix'
2019-07-10 14:09:37 +03:00
Dmitry Gridin
d2b8535548
Move/copy refactoring: add base support of implicit package prefix
...
#KT-29720 Fixed
2019-07-10 14:09:37 +03:00
Dmitry Gridin
beba1d82fc
ReplaceJavaStaticMethodWithKotlinAnalogInspection: add CommentSaver for case with transform to extension
2019-07-10 14:09:37 +03:00
Dmitry Gridin
56d2961cd9
ReplaceJavaStaticMethodWithKotlinAnalogInspection: add more tests
2019-07-10 14:09:37 +03:00
Dmitry Gridin
8314dbffd5
ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transformation for extension with non-null arguments
2019-07-10 14:09:36 +03:00
Dmitry Gridin
8b8858b223
ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transformation for extension with non-null receiver
2019-07-10 14:09:36 +03:00
Dmitry Gridin
026949a758
ReplaceJavaStaticMethodWithKotlinAnalogInspection: remove non-implemented cases
2019-07-10 14:09:36 +03:00
Dmitry Gridin
3aa2401f19
ReplaceJavaStaticMethodWithKotlinAnalogInspection: introduce Transform interface
...
#KT-32454 Fixed
2019-07-10 14:09:36 +03:00
Dmitry Gridin
835532c206
ReplaceJavaStaticMethodWithKotlinAnalogInspection: move to move to inspections.jdk2k subpackage
2019-07-10 14:09:36 +03:00
Dmitry Gridin
b2a60795da
ReplaceJavaStaticMethodWithKotlinAnalogInspection: add more cases for Arrays
...
#KT-32512 Fixed
#KT-30124 Fixed
2019-07-10 14:09:35 +03:00
Dmitry Gridin
24caca1882
ReplaceJavaStaticMethodWithKotlinAnalogInspection: fix false positive for 'Arrays.copyOf'
...
#KT-32477
2019-07-10 14:09:35 +03:00
Dmitry Gridin
fda5692fc6
RemoveCurlyBracesFromTemplateInspection: add heuristic to change severity
...
Change severity to INFORMATION if a variable hasn't whitespace around & add an option to return the old behavior
#KT-31717 Fixed
2019-07-10 10:28:45 +03:00
Toshiaki Kameyama
2ca0056cd0
ReplaceGuardClause inspection: check contracts availability
2019-07-08 16:36:19 +03:00
Toshiaki Kameyama
8cbcb66197
ReplaceGuardClause inspection: don't report when argument is not String
2019-07-08 16:36:18 +03:00
Toshiaki Kameyama
90b0ea73dc
Add inspection for check/require/checkNotNull/requireNotNull
...
#KT-30640 Fixed
#KT-22412 Fixed
2019-07-08 16:36:18 +03:00
Toshiaki Kameyama
64780293d3
"Redundant visibility modifier" inspection: don't report for property getter
...
#KT-32347 Fixed
2019-07-08 16:14:35 +03:00
Yan Zhulanow
0f4085066f
Debugger: Do not assume we are inside the class body when in '}' (KT-15259)
2019-07-08 16:25:19 +09:00
Yan Zhulanow
d45bbaabcd
Debugger: Fix missing NOPs in optimized Unit.INSTANCE calls (KT-31702)
2019-07-08 16:25:19 +09:00
Yan Zhulanow
9760c156a4
Debugger: Fix breakpoints on if/loops with constant conditions (KT-14421)
2019-07-08 16:25:18 +09:00
Yan Zhulanow
188ed82081
Debugger: Handle closure receivers came from outer callables properly (KT-31709)
2019-07-08 16:25:17 +09:00
Yan Zhulanow
c2f0286183
Debugger: Prefer the closest captured values
2019-07-08 16:25:17 +09:00
Yan Zhulanow
4fe6431b0f
Debugger: Disable value rendering in watches by default (KT-19084)
2019-07-08 16:25:16 +09:00
Yan Zhulanow
0f3d85716c
Debugger: Fix test, synthetic this variable is now hidden in Kotlin variables mode
2019-07-08 16:25:16 +09:00
Yan Zhulanow
1eab78124a
Debugger: Fix private member priority test
2019-07-08 16:25:16 +09:00
Yan Zhulanow
54f78a2920
Debugger: Remove debugger-related hacks in resolution
...
Candidate ordering should be the same in ordinary Kotlin code and in evaluated expressions.
With the invention of 'foo_field' syntax, there is no need to do these nasty things any more.
2019-07-08 16:25:16 +09:00
Yan Zhulanow
b4f515a436
Debugger: Support Kotlin variables for inlined lambdas inside inline functions (KT-31418)
2019-07-08 16:25:16 +09:00
Yan Zhulanow
afa0bec6f6
Debugger: Change the inline depth calculation heuristics, fix debugging for inlined lambdas (KT-30919)
2019-07-08 16:25:16 +09:00
Yan Zhulanow
5777592024
Debugger: Support captured values (KT-30740)
2019-07-08 16:25:15 +09:00
Toshiaki Kameyama
1f89c0f730
"Convert to sealed class" intention: don't suggest when no "class" keyword
...
#KT-32365 Fixed
2019-07-05 19:28:02 +07:00
Toshiaki Kameyama
9786564d75
"Remove argument name" intention: remove array literal brackets for annotation vararg argument
...
#KT-32318 Fixed
2019-07-05 19:18:40 +07:00
Toshiaki Kameyama
9f6e88d571
Formatter: format around safe cast operator as? (KT-32324)
...
#KT-32324 Fixed
2019-07-05 12:57:48 +03:00
Toshiaki Kameyama
44e9090931
Formatter: format between type reference and 'by' keyword (KT-32277)
...
#KT-32277 Fixed
2019-07-05 12:57:47 +03:00
Dmitry Gridin
f9b53da0fa
Attempt to fix some inspection tests
2019-07-05 13:02:52 +07:00
Dmitry Gridin
46eb929bd1
ControlFlowWithEmptyBodyInspection: shouldn't report on while with comments
...
#KT-32419 Fixed
2019-07-04 16:33:24 +07:00
Andrey Uskov
1a290621b0
Minor. Update multiplatform kotlin plugin version in HMPP tests
2019-07-03 11:49:04 +03:00
Andrey Uskov
9fc60be9d8
Fix serialization of facet settings in order to read properly
...
settings of native platforms
2019-07-02 22:46:47 +03:00
Andrey Uskov
404ce1a8c1
Facet serialization changed in order to keep compatibility with previous
...
versions of Kotlin plugin
2019-07-02 22:46:46 +03:00
Andrey Uskov
8445e3a2a4
HMPP: add importing tests
2019-07-02 22:46:45 +03:00
Andrey Uskov
90187c959e
Add test for 'isHMPP' flag
2019-07-02 22:41:02 +03:00