title: Scala object initialization
body: <p>I have an object:</p>
  
  <pre><code>object A {
   val init = println("Hello")
  }
  </code></pre>
  
  <p>I use it in a trait:</p>
  
  <pre><code>trait SomeTratit {
    val a = A.init
  }
  </code></pre>
  
  <p>Then I use trait it in a class:</p>
  
  <pre><code>class SomeClass extends SomeTrait
  </code></pre>
  
  <p>When I instantiate SomeClass with <code>new SomeClass</code> I expect to see <code>"Hello"</code> in the console, but don't get it. Why?</p>
  
  <p>Also I expect to see "Hello" only once while instantiating several objects, but don't see any "Hello" in console</p>