I know that Scala can only use mixin properties, it makes sense to inject dependencies and a cake template. My question is why I can still declare a class that needs a different βclassβ, but not an exponent.
The code:
class C class D { self : C =>}
This is still done. I thought this was not compiled, because at this stage, like a new instance of D (C is not a sign of the class).
Edit:
when trying to create an instance of D:
new D with compilation error C // class C should be a sign that should be mixed.
scala
Cloud tech
source share