Another good code red post :)

With the most recent plugin (0.4.1084) with this code:


import swing.Button

class Scratch {
  val buttons = List[Button]()
  buttons.foreach(_.visible = false)


the visible word is red and evenything inside the foreach brackets is underlined red.

Thanks, Nick.
1 comment
Comment actions Permalink

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.


Please sign in to leave a comment.