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

                    

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