Hello,
I have a problem when I implicitly call the apply method of an outer class from an inner class.
Minimal example:
class Outer { self => def apply( position : Inner ) : Boolean = true class Inner( ) { def testMe = { self.apply( this ) // a) this works self( this ) // b) this does not work! } }}When I leave out the '.apply' as in b), I get the error message
type mismatch; found : Outer.this.Inner required: _1.Inner where val _1: Outer
I'm using Scala IDE for Eclipse 2.0.2.v-2_09-201207120929-81d0972
Any ideas?
Greetings,
Holger