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
75755afc00
Remove redundant spread operator: don't remove inner argument spread operator #KT-27699 Fixed
2018-11-16 13:06:25 +03:00
Nikolay Krasko
2d1c76344c
Store presence of spread operator for value argument in stubs
2018-11-15 18:55:56 +03:00
Simon Ogorodnik
2d514d410f
Update testData due to platform changes
2018-11-15 16:27:56 +03:00
Toshiaki Kameyama
2a03e1b3da
Leaking this: fix for 'this' in enum class #KT-15835 Fixed
2018-11-15 15:16:48 +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
Aleksei Semin
793cac02e8
Add inspection and quick-fix to remove empty parentheses in annotation entries
2018-11-13 10:38:08 +03:00
Toshiaki Kameyama
e903b2f92a
Unused symbol: don't report for finalize() method #KT-13311 Fixed
2018-11-13 10:26:06 +03:00
Mikhail Glukhikh
503f061c8c
Forbid suggesting "iterate over" on expression with Nothing type
...
#KT-14555 Fixed
2018-11-13 10:15:49 +03:00
Mikhail Glukhikh
1e0746ebcd
Unused symbol: handle internal constructor used in Java #KT-27708 Fixed
2018-11-13 10:15:49 +03:00
Mikhail Glukhikh
da39d45cb1
Add more "non properties" for atomic classes #KT-25953 Fixed
2018-11-13 10:15:49 +03:00
Mikhail Glukhikh
cb28387da4
Fix KNPE in different "Generate members" for expect class
...
#KT-27595 Fixed
2018-11-13 10:15:48 +03:00
Mikhail Glukhikh
d7d1b0420d
Do not show non-actual members in actual gutter #KT-27951 Fixed
2018-11-13 10:15:47 +03:00
Simon Ogorodnik
7f5f6ad76f
Update QuickDoc testData due to platform changes
2018-11-12 20:56:26 +03:00
Pavel V. Talanov
47935c19e6
Show line markers for JUnit test methods in abstract class
...
#KT-27977 Fixed
2018-11-09 15:51:34 +01: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
Denis Zharkov
d74c12323f
Fix ambiguity when KtUltraLightClass contains overrides
...
#KT-27987 Fixed
2018-11-08 15:25:41 +03:00
Denis Zharkov
875e9d2a36
Fix KtUltraLightMethod::getParameterList
...
There's already a correct override in KtLightMethodImpl
Otherwise the tests is failing because clsDelegate.parameterList
has a wrong parent
2018-11-08 15:25:41 +03:00
Toshiaki Kameyama
6971ca44e7
Generate equals and hashCode: enable for data classes #KT-17502 Fixed
2018-11-08 12:51:29 +03:00
technoir
6bb5e028a5
Multiple templates with concatenation generator should add spaces after commas (KT-27954)
2018-11-08 11:21:11 +03:00
Mikhail Glukhikh
772ae60512
Extract inspection names from GradleInspectionTest into testData
2018-11-08 11:04:04 +03:00
Mikhail Glukhikh
52815f5eb5
Extract test files from GradleInspectionTest into testData
2018-11-08 11:04:04 +03:00
Toshiaki Kameyama
4ae837e669
Redundant lambda arrow: fix false positive in 'when/if' without block #KT-28047 Fixed
2018-11-08 10:40:02 +03:00
Toshiaki Kameyama
0bfcfb5716
ProtectedInFinalInspection: don't report for finalize() method #KT-13311 Fixed
2018-11-08 10:37:36 +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
Timo Obereder
3c75d46328
Correctly handle end-of-line comment in "Add braces to if"
...
#KT-27408 Fixed
2018-11-08 10:33:15 +03:00
Toshiaki Kameyama
c9477d94ad
Replace if with when: fix behavior on 'else if' #KT-4645 Fixed
2018-11-07 19:02:11 +03:00
Mikhael Bogdanov
d2a205c72d
Update synthetic parameter processing logic according to ASM 7 changes
...
#KT-27774 Fixed
2018-11-07 15:42:57 +01:00
Toshiaki Kameyama
23b9889ebb
Redundant companion reference: Fix false negative in enum entry #KT-27861 Fixed
2018-11-07 17:21:41 +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
0fcd1a2072
Introduce "Delegate to 'var' property" inspection #KT-26724 Fixed
2018-11-07 13:59:00 +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
fcfeb33501
Don't suggest "Implement as constructor parameters" in actual class
...
This applies if expect class has primary constructor declared
#KT-27791 Fixed
2018-11-07 11:56:55 +03:00
Toshiaki Kameyama
d0d98dc283
Redundant companion reference: fix false positive for class with name Companion #KT-27861 Fixed
2018-11-07 11:53:22 +03:00
Nikolay Krasko
3f53f9d9fb
Allow storing dot qualified expression in annotations arguments (KT-23738)
2018-11-06 13:43:21 +03:00
Nikolay Krasko
a9c3b27d3e
Don't generate stub for value arguments list when no arguments present (KT-23738)
...
Need this to conform stubs list obtained by decompiler.
Also ignore green stub, because is might not contain actual psi node.
2018-11-06 13:43:19 +03:00
Nikolay Krasko
efa59bfc7e
Make stubs for string entries (KT-23738)
2018-11-06 13:43:17 +03:00
Nikolay Krasko
37d7e618da
Stub element for KtStringTemplateExpression (KT-23738)
2018-11-06 13:43:16 +03:00
Nikolay Krasko
11543ba897
Make possible store constant values in stubs (KT-23738)
2018-11-06 13:43:15 +03:00
Nikolay Krasko
d9bc512556
Put arguments name to stubs in annotations (KT-23738)
2018-11-06 13:43:14 +03:00
Nikolay Krasko
12f127d631
Add stub for annotations value arguments (KT-23738)
2018-11-06 13:43:13 +03:00
Nikolay Krasko
fbb0e7d927
Stubbed VALUE_ARGUMENT_LIST and store it for annotations (KT-23738)
2018-11-06 13:43:12 +03:00
Nikolay Krasko
f892714bea
Test for stubs in annotations (KT-23738)
2018-11-06 13:43:07 +03:00
Toshiaki Kameyama
4a82f50e79
Convert concatenation to template: omit braces when converting 'this' #KT-7555 Fixed
2018-11-06 11:03:08 +03:00
Toshiaki Kameyama
7a9effe30d
Redundant companion reference: Fix false positive in enum entry #KT-27861 Fixed
2018-11-06 11:02:35 +03:00
Mikhail Glukhikh
329e4f6000
New MPP highlighting test: add test without errors (KT-27494)
2018-11-02 15:42:39 +03:00
Mikhail Glukhikh
62e9eae48d
New MPP highlighting test: check also line markers (KT-27494)
...
We have to do complex operations with tags, because otherwise
tags in different files prevent correct analysis of the current one
2018-11-02 15:42:06 +03:00
Mikhail Glukhikh
9be23bb21c
Add first test for new multiplatform highlighting #KT-27494 Fixed
2018-11-02 15:41:45 +03:00
Nikolay Krasko
6fcb1716eb
Do additional resolve for inline properties for backend (KT-27460)
...
There's an additional resolve for inline declarations to make backend
happy with the passed binding context object. Unlike functions,
properties were not processed.
#KT-27460 Fixed
2018-11-01 17:12:45 +03:00
Natalia Selezneva
e48fbe4aa3
Do not insert additional new lines in REPL
2018-11-01 15:00:41 +03:00