"Wrong access to private or protected members now marked red" is not working properly

dear jetbrains team,

given the simple example below intellij marks "serve" with red saying "element serve has private access from this place" even though it compiles (and runs) just fine.

class MyListener extends GuiceServletContextListener {
  override protected def getInjector(): Injector = {
      new MyModule,
      new ServletModule {
        serve("/*").by(classOf[MyServlet])  //this line is marked red



intellij: 9 ultimate EAP
scala plugin version: 03.28
jdk: 1.5
os: os x
1 comment

Thank you. Reported here (if you want to vote): http://youtrack.jetbrains.net/issue/SCL-1564
I'll look at this.

Best regards,
Alexander Podkhalyuzin.


Please sign in to leave a comment.