Skip to content

Commit 55ba439

Browse files
Update Dotty to 0.16.0-RC2
1 parent 7b13dfe commit 55ba439

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Any version number that starts with `0.` is automatically recognized as Dotty by
4343
the `sbt-dotty` plugin, you don't need to set up anything:
4444

4545
```scala
46-
scalaVersion := "0.15.0-RC1"
46+
scalaVersion := "0.16.0-RC2"
4747
```
4848

4949
#### Nightly builds

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ lazy val root = project
55
description := "Example sbt project that compiles using Dotty",
66
version := "0.1.0",
77

8-
scalaVersion := "0.15.0-RC1"
8+
scalaVersion := "0.16.0-RC2"
99
)

src/main/scala/EnumTypes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object EnumTypes {
3232

3333
def calculateEarthWeightOnPlanets(earthWeight: Double) = {
3434
val mass = earthWeight/Planet.EARTH.surfaceGravity
35-
for (p <- Planet.enumValues)
35+
for (p <- Planet.values)
3636
println(s"Your weight on $p is ${p.surfaceWeight(mass)}")
3737
}
3838

src/main/scala/TypeLambdas.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object TypeLambdas {
55

66
type T[+X, Y] = Map[Y, X]
77

8-
type Tuple = [X] => (X, X)
8+
type Tuple = [X] =>> (X, X)
99

1010
def test: Unit = {
1111

0 commit comments

Comments
 (0)