summaryrefslogblamecommitdiff
path: root/test/files/neg/t7473.check
blob: c686466a44186d2977a09d59f0394adf808d2cc6 (plain) (tree)
1
2
3
4
5
6
7
                                                                                               

                                                                                               
                                                                                               

                                                  
                
t7473.scala:5: error: for comprehension must start with generator: '<-' expected but '=' found.
  for (x = Option(i); if x == j) yield 42  //t7473.scala:4: error: '<-' expected but '=' found.
         ^
t7473.scala:8: error: for comprehension must start with generator: '<-' expected but '=' found.
  (for (x = Option(i); if x == j) yield 42) toList
          ^
two errors found