报告按索引而不是 head 访问集合的第一个元素。
head
示例:
var seq: Seq[Int] seq(0) seq.apply(0)
在应用快速修复后:
var seq: Seq[Int] seq.head seq.head