title: Override a function inside an Object inside of a Trait
body: <p>Say I have something like this:</p>
  
  <pre><code>trait A {
    object B {
      def doSomething = "test"
    }
  }
  
  class C extends A {
     def out = print(B.doSomething)
  }
  
  class D extends A {
     // override B.doSomething
  }
  </code></pre>
  
  <p>How do I override the function <code>doSomething</code> that is inside of <code>object B</code>?</p>