head を使用せず、インデックスを指定してコレクションの最初の要素にアクセスしているコードを報告します。
head
例:
var seq: Seq[Int] seq(0) seq.apply(0)
クイックフィックス適用後:
var seq: Seq[Int] seq.head seq.head