object X {
def g = {
val a^ = new A
a.f
}
}
class A {
def f = 0
}
Invoking the "inline local value" refactoring at the caret position results in a compilation error because the refactoring doesn't add the necessary parenthesis:
object X {
def g = {
new A^.f // parenthesis should be added here
}
}
class A {
def f = 0
}
Leave a comment
on 2014-04-06 09:13 *
By Simon Schäfer
Description changed from object X {
def... to object X {
def...
Ticket assignment reverted due to inactivity.
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|