Fixed bug #64070 (Inheritance with Traits failed with error)