title: Can't get an access to a companion object's field
body: <p>I'm wondering, why can't a class get an access to a companion object's field?</p>
  
  <pre><code>class MyClass {
    println(val1) // not found, why?
  }
  
  object MyClass {
    val val1 = "str"
  }
  </code></pre>
  
  <p>It should, it should even have an access to the private fields of <code>object MyClass</code>.</p>