aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-11-03 15:59:30 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:07 +0100
commitfcdb1c984c4b32c0c1b13337d9bd50a3883cb3b3 (patch)
tree63b5045618620509d839e9733935d6c2f26219f0
parent7fbb4513489df11f831d69ca07a58a809493361e (diff)
downloaddotty-fcdb1c984c4b32c0c1b13337d9bd50a3883cb3b3.tar.gz
dotty-fcdb1c984c4b32c0c1b13337d9bd50a3883cb3b3.tar.bz2
dotty-fcdb1c984c4b32c0c1b13337d9bd50a3883cb3b3.zip
Remove unused examples dir, duplicate contained in tests/pos
-rw-r--r--compiler/test/dotty/partest/DPConsoleRunner.scala2
-rw-r--r--compiler/test/dotty/tools/dotc/reporting/TestMessageLaziness.scala2
-rw-r--r--docs/docs/contributing/eclipse.md4
-rw-r--r--examples/hello.scala5
4 files changed, 3 insertions, 10 deletions
diff --git a/compiler/test/dotty/partest/DPConsoleRunner.scala b/compiler/test/dotty/partest/DPConsoleRunner.scala
index 4552d1137..310cba44d 100644
--- a/compiler/test/dotty/partest/DPConsoleRunner.scala
+++ b/compiler/test/dotty/partest/DPConsoleRunner.scala
@@ -187,7 +187,7 @@ class DPTestRunner(testFile: File, suiteRunner: DPSuiteRunner) extends nest.Runn
// |but partest was unable to find any sources - uncomment DPConsoleRunner#sources
// |================================================================================""".stripMargin
// }
- // List(new File("./examples/hello.scala")) // "just compile some crap" - Guillaume
+ // List(new File("./tests/pos/HelloWorld.scala")) // "just compile some crap" - Guillaume
// case xs =>
// xs
// }
diff --git a/compiler/test/dotty/tools/dotc/reporting/TestMessageLaziness.scala b/compiler/test/dotty/tools/dotc/reporting/TestMessageLaziness.scala
index 6892739e8..bf727d51a 100644
--- a/compiler/test/dotty/tools/dotc/reporting/TestMessageLaziness.scala
+++ b/compiler/test/dotty/tools/dotc/reporting/TestMessageLaziness.scala
@@ -7,8 +7,6 @@ import org.junit.Test
import core.Contexts._
-import test.DottyTest
-
import diagnostic.{ Message, MessageContainer, ExtendMessage }
class TestMessageLaziness extends DottyTest {
diff --git a/docs/docs/contributing/eclipse.md b/docs/docs/contributing/eclipse.md
index 9afe28355..0e4125df0 100644
--- a/docs/docs/contributing/eclipse.md
+++ b/docs/docs/contributing/eclipse.md
@@ -27,7 +27,7 @@ You may need to redo these steps when the build changes.
If you have `CLASSPATH` defined:
4. Update your classpath to contain any new required external libraries to run
- `./bin/dotc`, `./bin/doti` outside of Eclipse.
+ `./bin/dotc`, `./bin/dotr` outside of Eclipse.
5. Open the `Run Configurations` tab, and edit the `tests` configuration so
that it contains a `CLASSPATH` variable which reflects the current
@@ -44,4 +44,4 @@ Running the compiler Main class from Eclipse
- Add the Scala library (`Advanced...` > `Add library...` > `Scala library`)
- Add the Dotty classfiles (`Add projects...` > `[x] dotty`)
4. `Run Configurations > Main$ > Arguments` and add
- `${project_loc}/examples/hello.scala`
+ `${project_loc}/tests/pos/HelloWorld.scala`
diff --git a/examples/hello.scala b/examples/hello.scala
deleted file mode 100644
index 87e0b1e5e..000000000
--- a/examples/hello.scala
+++ /dev/null
@@ -1,5 +0,0 @@
-package hello
-
-object world extends App {
- println("hello dotty!")
-}