object X extends App {
def getA: A = ???
getA.hello() // <- hello is not highlighted
}
class A {
def hello(i: Int = 1): Unit = ???
}
Leave a comment
on 2015-04-04 05:21 *
By Simon Schäfer
Summary changed from Semantic highlighting fails for methods with default arguments to Semantic highlighting fails for methods with default arguments when no argument specified
on 2015-04-04 05:52 *
By Simon Schäfer
This actually is a bug in the compiler. If one selects the method, mark occurrences highlights also the wrong region. It starts at the dot and ends on the second l.
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|