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

                    

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