28bb27672 ^
89bacb9c2 ^
1
2 3 4 5 6 7 8 9
object Test extends dotty.runtime.LegacyApp { def getClause[T](clauses: List[T]): Option[T] = { for (c <- clauses) { return Some(c) } return None } println(getClause(List(1, 2, 3))) }