Problem with ctrl-q in for construct 关注
Hi.
With the following code:
object ForTest {
def main(args: Array[String]) {
case class Test(string:String)
val list = List(Test("1"),Test("2"),Test(3))
for (value <- list) {
value.string
}
}
}
When I do a ctrl-q on the "value" fields highlighted, I would expect it to say it was a val of type Test but it says:
ForTest
def main(args: Array[String]): Unit
Thanks, Nick.
请先登录再写评论。
Issue:
youtrack.jetbrains.net/issue/SCL-1884
Best regards,
Alexander Podkhalyuzin.