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




                                                                      
t1432.scala:10: error: type mismatch;
 found   : (Int, Bug_NoUnique.Wrap[Bug_NoUnique.Wrap[Unit]] => Double)
 required: (Int, Unit => Double)
  def test(x : TypeCon[Wrap[Unit]]) : TypeCon[Unit] = wrap(x)
                                                          ^
one error found