title: Extend case class from another case class
body: <p>I have two case class <em>Person</em> and <em>Employee</em></p>
  
  <pre><code>case class Person(identifier: String) {}
  
  case class Employee (salary: Long) extends Person {}
  </code></pre>
  
  <p>I am getting following error:</p>
  
  <pre><code>Unspecified value parameters: identifier: String
  Error: case class Employee has case ancestor Person, but case-to-case inheritance is prohibited. To overcome this limitation, use extractors to pattern match on non-leaf nodes
  </code></pre>
  
  <p>I am new to Scala and not able to understand what I have to do.</p>
  
  <p>Version:
  Scala : 2.11</p>