summaryrefslogtreecommitdiff
path: root/test/files/neg/t7473.check
blob: 488baef94e11fb018af7b40ea9a261d48e4ff226 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
t7473.scala:5: error: '<-' expected but '=' found.
  for (x = Option(i); if x == j) yield 42  //t7473.scala:4: error: '<-' expected but '=' found.
         ^
t7473.scala:5: error: illegal start of simple expression
  for (x = Option(i); if x == j) yield 42  //t7473.scala:4: error: '<-' expected but '=' found.
                    ^
t7473.scala:8: error: '<-' expected but '=' found.
  (for (x = Option(i); if x == j) yield 42) toList
          ^
t7473.scala:8: error: illegal start of simple expression
  (for (x = Option(i); if x == j) yield 42) toList
                     ^
four errors found