summaryrefslogblamecommitdiff
path: root/test/files/neg/bug677.check
blob: a50f3b55b84ecc3ca07bbfae1c1a07d1df4c4e9e (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