aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/import-rewrite/file.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-08-23 15:48:48 +0200
committerMartin Odersky <odersky@gmail.com>2016-08-23 15:54:17 +0200
commit1a538af06323f7d6cd471ae0af39842f26e9e7be (patch)
treeec621d6d47aee7aaaec8c18f0697afdd118b999a /tests/pending/import-rewrite/file.scala
parent76c3e99e33cf25a6ebccc0785212f629a3cda54e (diff)
downloaddotty-1a538af06323f7d6cd471ae0af39842f26e9e7be.tar.gz
dotty-1a538af06323f7d6cd471ae0af39842f26e9e7be.tar.bz2
dotty-1a538af06323f7d6cd471ae0af39842f26e9e7be.zip
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.
Diffstat (limited to 'tests/pending/import-rewrite/file.scala')
-rw-r--r--tests/pending/import-rewrite/file.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pending/import-rewrite/file.scala b/tests/pending/import-rewrite/file.scala
deleted file mode 100644
index e52581e81..000000000
--- a/tests/pending/import-rewrite/file.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-package file
-
-class File private (val str: String) {
- def name: String = "name"
-}
-
-object File {
- def apply(str: String): File = new File(str)
-}
-