Skip to content

Another for-comprehension refutability regression #6968

@scabug

Description

@scabug
object Test {
  def main(args: Array[String]) {
    val mixedList = List(1,(1,2),4,(3,1),(5,4),6)
    for((a,b) <- mixedList) yield a
  }
}

No call to withFilter is generated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions