traitTrait1{// need more work before this one works// @inlinedeffoo2(n:Int)=n*n}traitTrait2{@inlinedeffoo3(n:Int)=1}classBaseextendsTrait1{@inlinedeffoo(n:Int)=n}objectTestextendsBasewithTrait2{defmain(args:Array[String])={println(foo(42)+foo2(11)+foo3(2))}}