title: Error illegal start of simple expression
body: <p>I am having this error :  </p>
  
  <blockquote>
    <p>error: illegal start of simple expression
    def process_alcs(lines: List[String]) : List[(String, Double)] = for (line &lt;- lines) yield (val a = line.split(",")) (a[0],a[4].toDouble)</p>
  </blockquote>
  
  <p>for this line of code : </p>
  
  <pre><code>def process_alcs(lines: List[String]) : List[(String, Double)] = 
    for (line &lt;- lines) yield (val a = line.split(",")) (a[0],a[4].toDouble)
  </code></pre>
  
  <p>I first thought it was a parenthese mismatch but I checked 100 times</p>