title: A simple extends will not work, how to do it in scala
body: <p>I tried to play with scala and somethings wrong here. Maybe because its too late or maybe because eclipse wont work fine, but I have here an error:</p>
  
  <pre><code>    class A(
        val name: String,
        val age: Integer,
        val pro: Boolean
      )
  
      class B(val size: Integer) extends A(name, age, pro) //error
  </code></pre>
  
  <ul>
  <li>not found: value age  B.scala /Test/src   line 1  Scala Problem</li>
  <li>not found: value name B.scala /Test/src   line 1  Scala Problem</li>
  <li>not found: value pro  B.scala /Test/src   line 1  Scala Problem</li>
  </ul>
  
  <p>Class A is in the same package. I tought thats the way how extends work... somebody an idea?</p>