File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change
1
+ package hello
2
+
3
+ object world extends App {
4
+ println(" hello dotty!" )
5
+ }
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ The experimental compiler for a Scala dialect based on DOT.
7
7
```
8
8
sbt compile
9
9
sbt run
10
+ sbt test
10
11
```
11
- The tests ( ` sbt test ` ) don''t work yet .
12
+ At least half of the tests fail, we need to diagnose them .
12
13
13
14
14
15
### To use the Scala IDE:
20
21
* There are 2 spurious version incompatibility warnings
21
22
* To run dotty in Eclipse:
22
23
* Navigate to ` dotty.tools.dotc.Main `
23
- * Run As ... > Scala Application
24
- * then go to Run Configurations > Main$ > Classpath > Bootstrap entries:
25
- * add the Scala library (Advanced... > Add library ... > Scala library)
26
- * add the dotty classfiles (Add projects... > [ x] dotty)
24
+ * ` Run As... ` > ` Scala Application `
25
+ * then go to ` Run Configurations ` > ` Main$ ` > ` Classpath ` > ` Bootstrap entries ` :
26
+ * add the Scala library (` Advanced... ` > ` Add library... ` > ` Scala library ` )
27
+ * add the dotty classfiles (` Add projects... ` > ` [x] dotty ` )
28
+ * then go to ` Run Configurations ` > ` Main$ ` > ` Arguments ` and add ` ${project_loc}/examples/hello.scala `
You can’t perform that action at this time.
0 commit comments