Move refactoring is supported only for stable object members

Viewed 367

I'm receiving the error message move refactoring is supported only for stable object members when I try to refactor / move xyz(), using IntelliJ 2018.2 Scala Plugin 2018.2.11

What is the reason for this limitation? As a work-around I do the refactoring by hand.

package package1

object TestcaseStableObjectMembers {

   def abc() = {

      def xyz() = {}

   }
}
0 Answers
Related