"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 = {
    Guice.createInjector(
      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
评论操作 固定链接

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.

0

请先登录再写评论。