cannot call java-method from scala class

Hi,

I am using both the latest version of idea and the scala-plugin.

I have a scala class which extends a java class.

The compiler complains about not finding a method in the java-class which definitely exists.

Please see the attached screenshot.

As you can see there are no complaints about the Controller class itself but about the Controller's renderBinary-method both in the editor
and compiler output.

So I am wondering why do both the editor-plugin and the compiler find the parent-class but not it's methods?

Any hints are greatly appreciated



Attachment(s):
scala.png
4 comments

If the method is not public chances are it was fixed yesterday:)

0

The sky is not less blue because the blind man does not see it :-)

0

To explain your question is better to see Controller source code.
I can suggest you to check that renderBinary has protected or public access.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.