summaryrefslogblamecommitdiff
path: root/test/files/neg/bug677.check
blob: 90fceef364fc0012c97877273b813ca635072f6d (plain) (tree)
1
2
3
4
5
6

                                    


                             
               
bug677.scala:2 error: type mismatch;
 found   : () => scala.Int
 required: scala.Nothing
  val zx: Nothing = {() => 4}
                        ^
one error found