Rename a function id with multi-line parentheses
lxol opened this issue · 3 comments
lxol commented
Rename a function id followed by multi-line parentheses produces a wrong result.
package test
trait Bug {
def /*(*/renameMe/*)*/(
) = 1
}
package test
trait Bug {
def /*(*/Ups/*)*/(
= 1
}
@Test
def testRenameMultiLineParentheses() = new FileSet {
"""
package test
trait Bug {
def /*(*/renameMe/*)*/(
) = 1
}
""" becomes
"""
package test
trait Bug {
def /*(*/Ups/*)*/(
) = 1
}
""" -> TaggedAsGlobalRename;
} prepareAndApplyRefactoring(prepareAndRenameTo("Ups"))fommil commented
👍
kiritsuku commented
@lxol Would you please post this at https://www.assembla.com/spaces/scala-ide/support/tickets, the Github ticket tracker is only open due to historical reasons