title: sbt compile time warning: non-variable type argument String in type pattern List[String]
body: <p>My sbt is showing a warning message </p>
  
  <pre><code>non-variable type argument String in type pattern List[String] (the underlying of List[String]) is unchecked since it is eliminated by erasure
  </code></pre>
  
  <p>I tried the answer given in the link (first solution) </p>
  
  <p><a href="https://stackoverflow.com/questions/25222989/erasure-elimination-in-scala-non-variable-type-argument-is-unchecked-since-it">Erasure elimination in scala : non-variable type argument is unchecked since it is eliminated by erasure</a></p>
  
  <p>Here is my code</p>
  
  <pre><code>case class ListStrings(values:scala.List[String]) { }
  def matchValue(value: Any) = { 
    value match {      
      case ListStrings(xs) =&gt; 
        val userList = xs
      case _ =&gt; log.error("unknown value")
    }
  }
  val list: List[String] = List("6","7","8")
  
  matchValue(list)
  </code></pre>
  
  <p>I am getting "unknown value" as an output why its not matching ? what i am missing here?</p>