Skip to content

Commit

Permalink
Update scala3-compiler_3, ... to 3.5.1-RC1
Browse files Browse the repository at this point in the history
and exclude some synthetic sources that recently became
part of the source jar (scala/scala3#20904)
  • Loading branch information
scala-steward authored and SethTisue committed Aug 8, 2024
1 parent 4e5348e commit 51b2d4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions project/DottySupport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import sbt.librarymanagement.{
* Settings to support validation of TastyUnpickler against the release of dotty with the matching TASTy version
*/
object TastySupport {
val supportedTASTyRelease = "3.5.0-RC4" // TASTY: 28.5-1
val supportedTASTyRelease = "3.5.1-RC1" // TASTY: 28.5-1
val scala3Compiler = "org.scala-lang" % "scala3-compiler_3" % supportedTASTyRelease
val scala3Library = "org.scala-lang" % "scala3-library_3" % supportedTASTyRelease

Expand Down Expand Up @@ -69,7 +69,9 @@ object DottySupport {
object DottyLibrarySourceFilter extends FileFilter {
def accept(file: File): Boolean = {
val name = file.getName
file.isFile && (name.endsWith(".scala") || name.endsWith(".java"))
file.isFile &&
(name.endsWith(".scala") || name.endsWith(".java")) &&
!Set("AnyKind.scala", "Matchable.scala").contains(name)
}
}

Expand Down

0 comments on commit 51b2d4b

Please sign in to comment.