aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/naming-resolution/compiler.error
blob: 81d6b3cfaf91c9a0d85bd2f2dd3086d013b5e137 (plain) (blame)
1
2
3
4
5
6
7
8
$ scalac tests/pending/naming-resolution/*.scala
$ ./bin/dotc tests/pending/naming-resolution/*.scala
tests/pending/naming-resolution/callsite.scala:6: error: type mismatch:
 found   : java.util.stream.Stream[java.nio.file.Path]
 required: java.nio.file.Files
  def gimmeFiles: Files = Files.list(Paths.get("."))
                                    ^
one error found