From 1a538af06323f7d6cd471ae0af39842f26e9e7be Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 23 Aug 2016 15:48:48 +0200 Subject: Fix #1457: Three incompatbilities with scalac Two of these are unavoidable. I moved the tests to diabled/not-representable and added in each case a comment to the main scala file detailing why there is a deviation. The last one (import-rewrite) is fixed. --- tests/disabled/not-representable/naming-resolution/compiler.error | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/disabled/not-representable/naming-resolution/compiler.error (limited to 'tests/disabled/not-representable/naming-resolution/compiler.error') diff --git a/tests/disabled/not-representable/naming-resolution/compiler.error b/tests/disabled/not-representable/naming-resolution/compiler.error new file mode 100644 index 000000000..81d6b3cfa --- /dev/null +++ b/tests/disabled/not-representable/naming-resolution/compiler.error @@ -0,0 +1,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 -- cgit v1.2.3