diff options
author | Ólafur Páll Geirsson <olafurpg@gmail.com> | 2016-08-05 11:28:00 +0200 |
---|---|---|
committer | Ólafur Páll Geirsson <olafurpg@gmail.com> | 2016-08-23 12:15:15 +0200 |
commit | 233b8096359875d4b6432fbe5988724652b85752 (patch) | |
tree | b55ba62af6dfd22b3c094db40b94c1f45a59e096 /tests/pending/import-rewrite/file.scala | |
parent | bcfa3be8cfe2be5d79d0147e6c8fde2c38717623 (diff) | |
download | dotty-233b8096359875d4b6432fbe5988724652b85752.tar.gz dotty-233b8096359875d4b6432fbe5988724652b85752.tar.bz2 dotty-233b8096359875d4b6432fbe5988724652b85752.zip |
Three incompatibilities with scalac.
Using Scala 2.11.8 and dotty at bcfa3be8cfe2be.
cc/ #1457
Diffstat (limited to 'tests/pending/import-rewrite/file.scala')
-rw-r--r-- | tests/pending/import-rewrite/file.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pending/import-rewrite/file.scala b/tests/pending/import-rewrite/file.scala new file mode 100644 index 000000000..e52581e81 --- /dev/null +++ b/tests/pending/import-rewrite/file.scala @@ -0,0 +1,10 @@ +package file + +class File private (val str: String) { + def name: String = "name" +} + +object File { + def apply(str: String): File = new File(str) +} + |