sabin2.scala:22: error: type mismatch; found : Test.Base#T required: _5.T where val _5: Test.Base a.set(b.get()) // Error ^ one error found