Alexey Sedunov
e82e4bcfc8
Inline Variable: Show error message on attempt to inline unused declaration
2015-12-08 16:21:08 +03:00
Alexey Sedunov
5c88a1c63e
Inline Variable: Parenthesize arguments of the form "e1 < e2" if the next argument has the form "e1 > e2"
...
#KT-8261 Fixed
2015-12-08 16:21:07 +03:00
Alexey Sedunov
b2bdb8ed02
Inline Variable: Inline string template entries
...
#KT-7654 Fixed
2015-12-08 16:21:05 +03:00
Alexey Sedunov
8f8acf7a83
Pull Up: Drop default parameter values in function which becomes overriding. Disable function with default values if target class is the Java one
...
#KT-9833 Fixed
2015-12-08 16:20:52 +03:00
Pavel V. Talanov
b9ce9f8576
Script, IDE: tweak extract based refactorings to behave better in scripts
...
Fix not being able to invoke introduce variable for top level script expression
Prohibit introduce parameter and introduce property for scripts on top level
Basic test for introduce function (produces red code atm)
2015-12-02 15:14:25 +03:00
Alexey Sedunov
6abf13be41
Extract Function: Consider member property with invoke() a receiver candidate
...
#KT-9774 Fixed
2015-12-02 13:54:03 +03:00
Alexey Sedunov
03e1480476
Extraction Engine: Get rid of explicit element offset manipulation and use copyable user data instead
2015-12-02 13:54:02 +03:00
Alexey Sedunov
44bc937499
Shorten References: Fix removal of explicit companion references in the position of callee expression
...
#KT-10102
2015-12-02 13:54:01 +03:00
Alexey Sedunov
bcadfd4661
Introduce Variable: Suggest choosing between single variable and
...
multi-declaration. Forbid multi-declaration for collections and arrays
#KT-10242 Fixed
2015-12-02 13:46:47 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Alexey Sedunov
7a40239e64
Introduce Variable: Support destructuring declarations
...
#KT-6262
2015-11-26 21:22:16 +03:00
Alexey Sedunov
736813c76a
Introduce Lambda Parameter: Support extraction of string template fragments
2015-11-24 20:40:26 +03:00
Alexey Sedunov
1b162e0294
Introduce Parameter: Support extraction of string template fragments
2015-11-24 20:40:21 +03:00
Alexey Sedunov
6e8acc6453
Psi Unifier: Do not unify parameters with block expressions
2015-11-24 20:40:20 +03:00
Alexey Sedunov
741489f4a5
Extract Function/Introduce Property: Support extraction of string template fragments
2015-11-24 20:40:18 +03:00
Alexey Sedunov
f4b4b023a3
Introduce Variable: Support extraction of string template fragments
...
#KT-2089 Fixed
2015-11-24 20:40:15 +03:00
Alexey Sedunov
5889971d62
Introduce Variable: Allow choosing extraction scope for expressions in the lambda body
...
#KT-7720 Fixed
2015-11-24 20:40:07 +03:00
Alexey Sedunov
aeee8bafe6
Name Suggester: Suggest parameter name for the corresponding argument expression
...
#KT-8111 Fixed
2015-11-16 11:29:59 +03:00
Denis Zharkov
deea0643ad
Refine type arguments resolution and rendering
...
In case of type constructors captured parameters from outer classes
#KT-5510 Fixed
#KT-3112 Fixed
#KT-6325 Fixed
#KT-408 Fixed
#KT-6337 Fixed
2015-11-13 14:47:28 +03:00
Natalia Ukhorskaya
5fcd5396b6
Add option to extract function for wrapping member extension function with with { }
2015-11-10 18:38:11 +03:00
Alexey Sedunov
6ff955b66c
Change Signature: Implement improved call processing algorithm
...
#KT-8953 Fixed
#KT-9525 Fixed
2015-11-10 16:47:48 +03:00
Alexey Sedunov
2476393754
Change Signature: Do not move lambda out of parentheses if it neither wasn't out
...
before nor corresponds to the last parameter after the refactoring
#KT-9763 Fixed
2015-11-10 16:47:42 +03:00
Alexey Sedunov
f5e9d3e58f
Refactoring: Simplify JetChangeSignature test
2015-11-10 16:47:41 +03:00
Mikhail Glukhikh
41ebfd025e
More precise diagnostics of smart cast impossible #KT-7240 Fixed
2015-11-03 13:38:51 +03:00
Dmitry Jemerov
736b496f6a
drop deprecated @platformName and @platformStatic annotations
2015-11-02 17:00:44 +01:00
Alexey Sedunov
520e90acf1
Minor: Use kotlin.lazy instead of kotlin.Delegates.lazy in KtPsiFactory.CallableBuilder
2015-11-02 15:15:44 +03:00
Alexey Sedunov
5e223927ea
Change Signature: Match calls of different overloads generated due to @JvmOverloads annotation
...
#KT-9020 Fixed
2015-11-02 15:15:43 +03:00
Alexey Sedunov
7ce6f58c27
Change Signature: Constraint indices of parameters generated for overloaded versions of function with @JvmOverloads annotation
...
#KT-9762 Fixed
2015-11-02 15:15:40 +03:00
Alexey Sedunov
6a72b51677
Change Signature: Run tests with Kotlin stdlib
2015-11-02 15:15:39 +03:00
Alexey Sedunov
b9ed3b91be
Change Signature: Fix descriptor comparison when receiver type is changed
...
#KT-9201 Fixed
2015-11-02 15:15:33 +03:00
Alexey Sedunov
937b8725c6
Change Signature/Rename: Fix processing of named arguments when renaming parameter of extension function
...
#KT-8605 Fixed
2015-11-02 15:15:32 +03:00
Alexey Sedunov
18ed3055ee
Introduce Variable: Allow introduction of variables with 'dynamic' type
...
#KT-8483 Fixed
2015-11-02 15:15:31 +03:00
Alexey Sedunov
6dd58ad197
Inline: Fix inlining of if-expressions into qualified expressions
...
#KT-8008 Fixed
2015-11-02 15:15:29 +03:00
Alexey Sedunov
8d3296e08d
Change Signature: Search & process as-property usages of Java methods (This ixes some muted tests on Change Signature for properties).
...
Improve test data
2015-10-24 19:50:55 +03:00
Alexey Sedunov
3fd6864461
Extraction Engine: When extracting to enum class body, place new declaration after the last entry
...
#KT-9629 Fixed
2015-10-24 19:50:52 +03:00
Alexey Sedunov
ca87e7933f
Move: Drop Java on-demand static imports of facade class members when original facade is eliminated due to Move refactoring
...
#KT-9624 Fixed
2015-10-24 19:50:48 +03:00
Valentin Kipyatkov
255373162d
KT-9666 Inner classes do not appear in type completion
...
#KT-9666
2015-10-22 18:48:15 +03:00
Mikhail Glukhikh
d6988ad69e
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
2015-10-21 16:36:55 +03:00
Alexey Sedunov
bdd495460b
Extraction Engine: Properly retrieve declaration for overriden/delegated Java synthetic properties
...
#KT-9554 Fixed
2015-10-20 18:39:43 +03:00
Dmitry Petrov
dda508234f
Drop package facades:
...
- update tests
- cleanup JetTyMapper after rebase
2015-10-19 16:03:22 +03:00
Dmitry Petrov
a76fb328cb
Dropping package facades:
...
- fix testData for 'move' tests
(NB regression in **/onDemandStaticImport.java, see: https://youtrack.jetbrains.com/issue/KT-9624 )
2015-10-19 16:03:20 +03:00
Pavel V. Talanov
ba84214bd0
Fix test data for rename test
...
(cherry picked from commit aee4f25)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
e578caaed2
Fix test data for move test
...
Tests do not pass after this change
(cherry picked from commit d4437d7)
2015-10-19 16:03:18 +03:00
Pavel V. Talanov
2e1967eb84
Fix test data for change signature test
...
(cherry picked from commit 8d420f1)
2015-10-19 16:03:18 +03:00
Michael Bogdanov
c63d221da3
Skip private members in facades
2015-10-18 17:53:26 +03:00
Stanislav Erokhin
d5dbc9638d
Added static methods, nested classes and companion object from superclasses.
2015-10-16 20:42:34 +03:00
Denis Zharkov
bd37a10677
Transform *Array.size to properties
2015-10-16 18:16:02 +03:00
Valentin Kipyatkov
dc83d5cf04
Fixed test data
2015-10-15 19:20:12 +03:00
Valentin Kipyatkov
988c934e78
Fixed Pull Up to generate correct annotation syntax
2015-10-15 19:20:08 +03:00