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.
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.

0

Please sign in to leave a comment.