Skip to content

Commit 590b54c

Browse files
committed
build and test against scala 3.7.2
scala/scala3#23124
1 parent df882c1 commit 590b54c

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

bin/test-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version=$1
66
scala212=2.12.20
77
scala213=2.13.16
88
scala3LTS=3.3.6
9-
scala3Next=3.7.1
9+
scala3Next=3.7.2
1010

1111
cs resolve \
1212
ch.epfl.scala:scalafix-interfaces:$version \

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object Dependencies {
1010
val scala33 = "3.3.6"
1111
val scala35 = "3.5.2"
1212
val scala36 = "3.6.4"
13-
val scala37 = "3.7.1"
13+
val scala37 = "3.7.2"
1414
val scala3LTS = scala33
1515
val scala3Next = sys.props.getOrElse("scala3.nightly", scala37)
1616

scalafix-tests/input/src/main/scala-3lts/test/explicitResultTypes/EnumerationValue.scala renamed to scalafix-tests/output/src/main/scala-3next/test/explicitResultTypes/EnumerationValue.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/*
2-
rules = ExplicitResultTypes
3-
*/
41
package test.explicitResultTypes
52

63
object EnumerationValue {
@@ -14,11 +11,11 @@ object EnumerationValue {
1411
}
1512
import Bool._
1613
def day(d: Day.Value): Unit = ???
17-
val d =
14+
val d: test.explicitResultTypes.EnumerationValue.Day.Value =
1815
if (true) Day.Weekday
1916
else Day.Weekend
2017
day(d)
21-
val b =
18+
val b: Value =
2219
if (true) True
2320
else False
2421
}

0 commit comments

Comments
 (0)