File tree 4 files changed +4
-12
lines changed
test/scala/tools/tastytest
4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import sbt.librarymanagement.{
12
12
* Settings to support validation of TastyUnpickler against the release of dotty with the matching TASTy version
13
13
*/
14
14
object TastySupport {
15
- val supportedTASTyRelease = " 3.3.0 " // TASTy version 28.4-1
15
+ val supportedTASTyRelease = " 3.3.1-RC1 " // TASTy version 28.4-1
16
16
val scala3Compiler = " org.scala-lang" % " scala3-compiler_3" % supportedTASTyRelease
17
17
val scala3Library = " org.scala-lang" % " scala3-library_3" % supportedTASTyRelease
18
18
@@ -26,7 +26,7 @@ object TastySupport {
26
26
* Dotty in .travis.yml.
27
27
*/
28
28
object DottySupport {
29
- val dottyVersion = " 3.3.0 "
29
+ val dottyVersion = " 3.3.1-RC1 "
30
30
val compileWithDotty : Boolean =
31
31
Option (System .getProperty(" scala.build.compileWithDotty" )).exists(_.toBoolean)
32
32
lazy val commonSettings = Seq (
Original file line number Diff line number Diff line change 1
- TestErasedTypes_fail.scala:6: error: Unsupported Scala 3 erased modifier in refinement of type F; found in class tastytest.ErasedTypes.Bar.
2
- def test1 = new Bar[Foo]
3
- ^
4
- TestErasedTypes_fail.scala:7: error: Unsupported Scala 3 erased modifier in refinement of type F; found in class tastytest.ErasedTypes.Baz.
5
- def test2 = new Baz[Foo]
6
- ^
7
1
TestErasedTypes_fail.scala:9: error: Unsupported Scala 3 erased value x; found in method foo1 in trait tastytest.ErasedTypes.Foo.
8
2
def test3(f: Foo) = f.foo1("foo")
9
3
^
@@ -13,4 +7,4 @@ TestErasedTypes_fail.scala:10: error: Unsupported Scala 3 erased value x; found
13
7
TestErasedTypes_fail.scala:12: error: Unsupported Scala 3 erased method theString; found in object tastytest.ErasedTypes.ErasedCompileTimeOps.
14
8
def test5 = ErasedCompileTimeOps.theString
15
9
^
16
- 5 errors
10
+ 3 errors
Original file line number Diff line number Diff line change 1
- TestSaferExceptions_fail.scala:5: error: Unsupported Scala 3 erased context function type in bounds of type mayThrow: erased tastytest.SaferExceptions.CanThrowCapability[E] ?=> A; found in object tastytest.SaferExceptions .
1
+ TestSaferExceptions_fail.scala:5: error: Unsupported Scala 3 erased value x$1; found in method apply in tastytest.SaferExceptions.<refinement> .
2
2
def test = SaferExceptions.safeDiv(1, 0) // error
3
3
^
4
4
1 error
Original file line number Diff line number Diff line change @@ -92,8 +92,6 @@ object TastyTestJUnit {
92
92
93
93
@ setup
94
94
def init (): Unit = {
95
- // TODO remove once Scala 3 has a fix for scala/bug#12783
96
- assumeFalse(scala.util.Properties .isJavaAtLeast(" 21" ))
97
95
_dottyClassLoader = Dotc .initClassloader().get
98
96
}
99
97
You can’t perform that action at this time.
0 commit comments