blob: 1eb9e6cb7a16040fea6bd89b70b1b5badc4df00e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object Foo {
val i,j = 3
for (x = Option(i); if x == j) yield 42 //t7473.scala:4: error: '<-' expected but '=' found.
// evil postfix!
(for (x = Option(i); if x == j) yield 42) toList
}
|