summaryrefslogtreecommitdiff
path: root/test/files/neg/bug677.check
blob: fc90bc3a339e21ed94d50d04bb3d0cbd6fa23498 (plain) (blame)
1
2
3
4
5
6
bug677.scala:2 error: type mismatch;
 found   : () => scala.Int
 required: scala.All
  val zx: All = {() => 4}
                    ^
one error found