Skip to content

Commit 9304f3b

Browse files
committed
Remove dead code
1 parent 82dfb6c commit 9304f3b

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -292,27 +292,6 @@ class CompilationTests extends ParallelTesting {
292292

293293
tests.foreach(_.delete())
294294
}
295-
296-
private val (compilerSources, backendSources, backendJvmSources) = {
297-
val compilerDir = Paths.get("../compiler/src")
298-
val compilerSources0 = sources(Files.walk(compilerDir))
299-
300-
val backendDir = Paths.get("../scala-backend/src/compiler/scala/tools/nsc/backend")
301-
val backendJvmDir = Paths.get("../scala-backend/src/compiler/scala/tools/nsc/backend/jvm")
302-
303-
// NOTE: Keep these exclusions synchronized with the ones in the sbt build (Build.scala)
304-
val backendExcluded =
305-
List("JavaPlatform.scala", "Platform.scala", "ScalaPrimitives.scala")
306-
val backendJvmExcluded =
307-
List("BCodeICodeCommon.scala", "GenASM.scala", "GenBCode.scala", "ScalacBackendInterface.scala", "BackendStats.scala")
308-
309-
val backendSources0 =
310-
sources(Files.list(backendDir), excludedFiles = backendExcluded)
311-
val backendJvmSources0 =
312-
sources(Files.list(backendJvmDir), excludedFiles = backendJvmExcluded)
313-
314-
(compilerSources0, backendSources0, backendJvmSources0)
315-
}
316295
}
317296

318297
object CompilationTests {

0 commit comments

Comments
 (0)