Alexey Sedunov
4e36edb5d6
Inline Variable: Remove invalid imports and perform reference lengthening/shortening when inlining non-local declaration
...
#KT-8884 Fixed
2015-12-18 15:05:23 +03:00
Alexey Sedunov
ffb382e3bc
PSI: Delete succeeding semicolon along with KtElement
...
#KT-5487 Fixed
2015-12-15 13:31:33 +03:00
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
6dd58ad197
Inline: Fix inlining of if-expressions into qualified expressions
...
#KT-8008 Fixed
2015-11-02 15:15:29 +03:00
Dmitry Jemerov
a63d3f5a0f
fix more compilation errors and some tests
2015-10-12 11:11:29 +02:00
Alexey Sedunov
e3d8d819da
Inline Variable: Var support
...
#KT-5169 Fixed
2015-10-01 17:35:22 +03:00
Alexey Sedunov
8c9863e759
PSI: Add parentheses around non-trivial callee expressions
...
#KT-8232 Fixed
2015-06-27 13:58:02 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Mikhael Bogdanov
625efe1be1
Update to idea 132.425
2013-09-30 12:39:40 +04:00
Evgeny Gerashchenko
a13092e525
Supported inlining constant properties.
2013-07-24 16:03:01 +04:00
Evgeny Gerashchenko
5aa4672d32
Adding parameter types for functions if necessary.
...
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko
0367f1836d
Adding type arguments if necessary.
...
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko
c22f54055e
Supported vals initialized after.
...
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko
72ed74ab9a
Adding {} in string template if necessary.
...
#KT-2637 in progress
2013-07-23 21:43:05 +04:00
Evgeny Gerashchenko
55b221776b
Inline adds parentheses when it is necessary.
...
Test data for Remove Unnecessary Parentheses was updated, since parentheses in foo && (bar && baz) is not "unnecessary": removing it changes program semantics.
#KT-2637 in progress
2013-07-23 21:43:04 +04:00
Evgeny Gerashchenko
a9a960fd38
Basic local val inlining support.
...
#KT-2637 in progress
2013-07-23 21:43:04 +04:00