title: Why does auxiliary constructor not see import done in the class?
body: <p>The code below gives a compile error:</p>
  
  <pre><code>  class Info(val x: String)
  
    object Info {
      val default = new Info("top")
    }
  
    case class Data(x: String) {
      import Info.default
  
      def this() = this(default.x)
  
    }
  </code></pre>
  
  <blockquote>
    <p>Error:(11, 23) not found: value default
        def this() = this(default.x)</p>
  </blockquote>
  
  <p>Why is symbol <code>default</code> not seen in the constructor, in spite of the import?</p>
  
  <p>Further experiments show it is not only import. Replacing import line with a <code>def</code> (or even <code>val</code>) does not help, still the error persists:</p>
  
  <pre><code>def default = Info.default
  </code></pre>