Skip to content

Commit 51b2d4b

Browse files
scala-stewardSethTisue
authored andcommitted
Update scala3-compiler_3, ... to 3.5.1-RC1
and exclude some synthetic sources that recently became part of the source jar (scala/scala3#20904)
1 parent 4e5348e commit 51b2d4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

project/DottySupport.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import sbt.librarymanagement.{
1212
* Settings to support validation of TastyUnpickler against the release of dotty with the matching TASTy version
1313
*/
1414
object TastySupport {
15-
val supportedTASTyRelease = "3.5.0-RC4" // TASTY: 28.5-1
15+
val supportedTASTyRelease = "3.5.1-RC1" // TASTY: 28.5-1
1616
val scala3Compiler = "org.scala-lang" % "scala3-compiler_3" % supportedTASTyRelease
1717
val scala3Library = "org.scala-lang" % "scala3-library_3" % supportedTASTyRelease
1818

@@ -69,7 +69,9 @@ object DottySupport {
6969
object DottyLibrarySourceFilter extends FileFilter {
7070
def accept(file: File): Boolean = {
7171
val name = file.getName
72-
file.isFile && (name.endsWith(".scala") || name.endsWith(".java"))
72+
file.isFile &&
73+
(name.endsWith(".scala") || name.endsWith(".java")) &&
74+
!Set("AnyKind.scala", "Matchable.scala").contains(name)
7375
}
7476
}
7577

0 commit comments

Comments
 (0)