Commit Graph

10 Commits

Author SHA1 Message Date
Toshiaki Kameyama c344b85d4e Convert parameter <-> receiver intention: do not add label to 'this' if not needed
#KT-17615 Fixed
#KT-30028 Fixed
#KT-32809 Fixed
#KT-28085 Fixed
#KT-37508 Fixed

Convert receiver to parameter:

#KT-37508 Fixed
2020-04-01 13:26:55 +03:00
Alexey Sedunov 6060a39494 Change Signature: Use correct index in getOriginalParameter()
#KT-18642 Fixed
 #KT-18606 Fixed
2017-06-29 17:42:09 +03:00
Alexey Sedunov c305a42128 Convert Receiver to Parameter: Place new parameter at the start
This affects editor template only since Change Signature already
puts converted receiver at the parameter list start by default

 #KT-15543 Fixed
2017-04-21 13:32:31 +03:00
Alexey Sedunov 8ceeff0211 Change Signature: Use new signature when looking for redeclaration conflicts
#KT-14583 Fixed
2016-11-07 20:03:32 +03:00
Alexey Sedunov 8c3fcf69f2 Convert Receiver to Parameter Intention: Update function descriptor after template is finished (otherwise some references may be processed incorrectly) 2016-10-18 16:48:09 +03:00
Natalia Ukhorskaya 78d737f3f4 Check errors in Intentions tests by default 2015-12-17 11:11:22 +03:00
Denis Zharkov f0e3fd617d Adjust testData to CharSequence.length transformation 2015-10-14 20:39:35 +03:00
Alexey Sedunov b805645489 Change Signature: Support receiver <-> parameter conversion for function expressions
#KT-9309 Fixed
2015-10-01 17:35:20 +03:00
Alexey Sedunov b4410c625f Change Signature: Recreate call expression when converting receiver to parameter
#KT-8878 Fixed
2015-09-11 02:20:37 +03:00
Alexey Sedunov cef9996ba7 Intentions: Convert extension receiver to parameter and vice versa 2015-02-11 14:40:28 +03:00