trait A { trait B { def foo: A.this.B = new B{} def bar: A#B= foo def baz: A.this.B = bar // type mismatch; found : A#B required: A.this.B
I\'ve been doing some research on path-dependent types. The best description I could find for it was:
Here\'s another one for implicits and path dependent types. I don\'t understand why I need to be so verbose here: (Note -- I found the answer, see below)
Couple of questions on scala abstract types. Do I have to use parameterized [] types if I want to use the type in a constructor value? ie. is it possible to have a class with abstract constructor pa
Does anyone know what\'s going on here with this compiler error? The error goes away if I don\'t extend INode.
How do I开发者_开发问答 configure hibernate in a NetBeans application? Using Hibernate in a Web Application