Another good code red post :)
With the most recent plugin (0.4.1084) with this code:
{code}
import swing.Button
class Scratch {
val buttons = List[Button]()
buttons.foreach(_.visible = false)
}
{code}
the visible word is red and evenything inside the foreach brackets is underlined red.
Thanks, Nick.
请先登录再写评论。
That is what unspecified in scala compiler. I mean what exactly is enclosing expression for underscore anonymous function. So this will be fixed very simply.
Best regards,
Alexander Podkhlalyuzin.