fixes treatment of lazy vals declared in traits