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





                                    
t7899.scala:5: error: type mismatch;
 found   : Int => Int
 required: (=> Int) => ?
    foo(identity)()
        ^
one error found