This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Delayed initialization with multiple inheritance

No replies
edmondo1984
Joined: 2011-09-14,
User offline. Last seen 28 weeks 3 days ago.
Dear All, 
I have the following class:
class MyClass extends MyAbstractClass(smth) with MyTrait {
}
but MyTrait has to be initialized as the last one.
I know that in the simple case 
class MyClass extends {val something = "hello";} with MyAbstractClass(smth)

What in case of multiple inheritance through traits?
Thank you very much
Best Regards
Edmondo

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland